View Single Post
Old 07/06/2011, 04:36 PM   #7
DexX39
Banned
 
Join Date: Dec 2010
Location: France
Posts: 759
Reputation: 35
Default Re: Plaque d'immatriculation

Du coup oui je peux retirer ceci :

[code]new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[128];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_GRAD2, "Usage: /v plaque");
return 1;
}[/code]

Mais que je définisse mon Random dans un public ou directement dans la commande, sa change pas grand chose...
DexX39 is offline