Server: Unkown command
#1

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

Код 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;
		}
Reply


Messages In This Thread
Server: Unkown command - by KaMeLeOn - 23.12.2014, 21:13
Re: Server: Unkown command - by Biess - 23.12.2014, 21:39
Re: Server: Unkown command - by KaMeLeOn - 23.12.2014, 22:12
Re: Server: Unkown command - by Biess - 24.12.2014, 19:00

Forum Jump:


Users browsing this thread: 1 Guest(s)