30.04.2010, 21:56
Quote:
public OnPlayerSpawn(playerid)//player comes alive { SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 3.0);// create marker return 1; } public OnPlayerEnterCheckpoint(playerid)// player enters checkpoint { if(materialmen[playerid] == 1)// check if player is materialmen as job { GivePlayerMoney(playerid, 1000); // player gets 1000 $ DisablePlayerCheckpoint(playerid); // marker disapears materials[playerid] = 0; // set player materials on 0 } else { SendClientMessage(playerid, COLOR_RED,"you are not a material man"); return 1; } |
so dont use itxD because it does not work xD