01.12.2010, 20:39
I get 26 errors when I compile this
I get 0 errors when I take out this coding...
What is wronge with this coding
I get 0 errors when I take out this coding...
What is wronge with this coding
Код:
if(strcmp(cmd, "/getmats", true) == 0) { GetPlayerName(playerid, playername, sizeof(playername)); if(PlayerInfo[playerid][pJob] == 9) && IsPlayerInRangeOfPoint(playerid,10.0,316.2688,1119.7667,1083.8828)) // Route 1 { if(MatsRoute[playerid] == 0 || MatsRoute[playerid] == 1) { if(MatsHolding[playerid] < 10) { ShowMatsMenu(playerid,1); PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0); return 1; } else { PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GREY, "I can't sell you anymore, go deliver them."); return 1; } } else { PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GREY, "You are already doing a other route"); return 1; } } else { PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GREY, "You are not a arms dealer"); return 1; }