Wiered Problem, Half of a command don't work.
#3

erm the string don't appear... tghou the function is correct because i use it in other commands and they work fine... and for example when the player don't type the " playerid" after the command like : /promote 15 it say USAGE: /promote [playerid]

those if's works fine but if the server skips those if's it say unknown command....

Only this code don't work...
Код:
		format(string, sizeof(string),"(PD Radio) Congratulations to %s , got promoted from %s to %s",PlayerInfo[giveplayerid][name],PoliceRank[PlayerInfo[playerid][policerank]-1][0],PoliceRank[PlayerInfo[playerid][policerank]][0]);           // From here onwards don't work.
		PlayerInfo[giveplayerid][policerank] += 1;
		SavePlayer(giveplayerid);
		SendMessageToPolice(COLOR_LIGHTBLUE,string);
		return 1;
from all that command.... ( the important piece )

when the server should work that code... instead it displays " SERVER: Unknown command . "
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)