24.04.2010, 14:48
use this :
Код:
else { if(IsAnFarmer(playerid)) { if(FarmerSpawn[playerid] == 0) { FarmerSpawn[playerid] = 1; SendClientMessage(playerid, COLOR_GREY, " You will now spawn at the Normal Farm !"); } else if(FarmerSpawn[playerid] == 1) { FarmerSpawn[playerid] = 0; SendClientMessage(playerid, COLOR_GREY, " You will now spawn at the Drugs Farm !"); } } else { SendClientMessage(playerid, COLOR_GREY, " You dont own / rent a House !"); return 1; } } return 1; }