21.07.2013, 13:53
no this is the full command [QUOTE]
Код:
if(strcmp(cmd,"/zemimatrijali",true)==0) { ---> if (robtimerm != 0 { SendClientMessage(playerid, COLOR_WHITE, "{FF0000}GRESKA:{FFFFFF}Nema matrijali."); } else if(PlayerToPoint(1.0,playerid, 859.8569,-604.7258,18.4219))////lcn matrijali { PlayerInfo[playerid][pMats] += 1000; robtimerm = 1; SetTimer("ResetRobTimerm", 1800000, false); SendClientMessage(playerid, COLOR_WHITE, "{37F906}INFO:{FFFFFF}Zedovte 1000 grama matrijali."); } else { SendClientMessage(playerid, COLOR_WHITE, "{FF0000}GRESKA:{FFFFFF}Ne ste na mestoto kade sto se zimaat matrijali."); } }