26.12.2012, 08:02
Quote:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/enter", cmdtext, true, 6) == 0) { if(IsPlayerInRangeOfPoint(playerid,10,1480.9829,-1769.9470,18.795 ![]() { SetPlayerPos(playerid,388.8720,173.8050,1008.382 ![]() return 1; } //other enter commands go here if(player...... } if (strcmp("/exit", cmdtext, true, 6) == 0) { if(IsPlayerInRangeOfPoint(playerid,10,388.8720,173 .8050,1008.382 ![]() { SetPlayerPos(playerid,1480.9829,-1769.9470,18.795 ![]() return 1; } //other exit commands go here if(player...... } } |
Quote:
warning 209: function "zcmd_OnPlayerCommandText" should return a value |