23.03.2010, 20:46
i used seifs thing but i cant make it work:
Код:
AREA_lift=AddAreaCheck(-2455.066894, -2475.107421, 1530.183959, 1518.064697);
Код:
OnPlayerEnterArea(playerid,areaid) { if (areaid==AREA_lift) { SendClientMessage(playerid, 0x99FF66AA, "Use /lift to bring the lift up and /lift to take it back down"); GameTextForPlayer(playerid, "/lift to bring the lift up and /lift to take it back down", 5000, 5); } return 1; } OnPlayerLeaveArea(playerid,areaid) { if (areaid==AREA_lift) { SendClientMessage(playerid, 0x99FF66AA, "Thanks for using the lift!"); GameTextForPlayer(playerid, "Thanks for using the lift!", 5000, 5); } return 1; }