17.09.2011, 12:57
how can i make a check for this :
if(PlayerInfo[playerid][pJob])
i mean,how can i make
if(PlayerInfo[playerid][pJob])
i mean,how can i make
Код:
CMD:kosactrave(playerid,params[]) { if(IsPlayerInRangeOfPoint(playerid, 4.0, 1808.4081,-1435.0905,13.4297)) { // i need this,if player doesent have a job,then { // i need this,if player doesent have a job,then employ him.. SendClientMessage(playerid,-1,""CRVENA"Cestitamo: "ZUTA"Uspjesno ste se zaposlili kao "ZELENA"Kosac Trave") } else SendClientMessage(playerid,-1,""CRVENA"Error: "ZUTA"Vec ste zaposleni");// You are already employed } else SendClientMessage(playerid,-1,""CRVENA"Error: "ZUTA"Niste blizu mjesta za zaposljavanje.") // It says you are not near place for employment return 1; }