[ajuda] oque a de errado com esse cуdigo?
#1

Tipo quando eu digto funciona sу que quando da tipo um espaзo nao aprece a outra palavra
exemplo:"/ann teste 1" o numero "1" nao aprece
codigo abaixo \/


dcmd_ann(playerid,params[])
{
if(PlayerData[playerid][AdminLevel] >= 1)
{
new tmp[256],idx;
new string[256];
tmp = strtok(params,idx);
if(!strlen(params))
return
SendClientMessage(playerid,COLOR_GREY,"Use: /ann [text]");
format(string, sizeof(string), "~w~%s",tmp);
GameTextForAll(string, 3000, 3);
return true;
}
else return SendClientMessage(playerid,COLOR_GREY,"[INFO]: Vocк nгo pode utilizar esse comando");
}
Reply
#2

The fuck language you speaking ?
Reply
#3

I think he's speaking spanish, but someone should translate this to him on the Non-English lounge for scripting section.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)