Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:adban(playerid, params[])
- {
- new temps, c;
- if(isnull(params)) return SCMUsage(playerid, "/adban [Utilisateur/ID] [Durée: *m/*h/*j");
- if(sscanf(params,"udcs[255]",id, temps, c, r)) return SCMUsage(playerid, "/SCMUsage");
- if(sscanf(duree, "dc", temps, c))
- switch(c)
- {
- case 'm': temps *= 60;
- case 'h': temps *= 3600;
- case 'j': temps *= 86400;
- default: return SCM(playerid, -1, ""COL_RED"[ERREUR]: "COL_WHITE" [m]: Minutes | [h]: Heures | [j]: Jours");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement