23.12.2014, 21:13
Hey guys, i have a problem only when i am in car i have this problem.
I can use command when i am in car for example : /gotols /gotosf /fixveh
But when i am not in car work
I can use command when i am in car for example : /gotols /gotosf /fixveh
But when i am not in car work
Код HTML:
public OnPlayerCommandText(playerid, cmdtext[]) { new string[256]; new playermoney; new sendername[MAX_PLAYER_NAME]; new giveplayer[MAX_PLAYER_NAME]; new playername[MAX_PLAYER_NAME]; new cmd[256]; new tmp[256]; new idcar = GetPlayerVehicleID(playerid); new giveplayerid, moneys, idx; cmd = strtok(cmdtext, idx); //tmp = strtok(cmdtext, idx); printf("%s: %s ", PlayerData[playerid][pNume], cmd); if(gPlayerLogged[playerid] == 0) { return 0; }