06.11.2012, 09:11
Код:
command(enter, playerid, params[]) { if(IsPlayerInRangeOfPoint(playerid, 5.0, 2269.3821,-75.3405,26.7724)) { SetPlayerPos(playerid, 916.6719,2380.9543,246.4695); SetPlayerInterior(playerid, 1); GameTextForPlayer(playerid, "~g~Job Center~n~~r~Type /exit to go outside", 3000, 5); LoadInterior(playerid); FadePlayerScreen(playerid, BLACK, 15); } if(IsPlayerInRangeOfPoint(playerid, 5.0, 816.7607,-613.7709,16.3359)) { SetPlayerPos(playerid, 627.3032,-11.9755,1000.9219); SetPlayerInterior(playerid, 1); GameTextForPlayer(playerid, "~g~Road works~n~~r~Type /exit to go outside", 3000, 5); LoadInterior(playerid); FadePlayerScreen(playerid, BLACK, 15); } if(IsPlayerInRangeOfPoint(playerid, 5.0, 1222.1439,244.0164,19.5469)) { SetPlayerPos(playerid, 390.2748,173.8150,1008.3828); SetPlayerInterior(playerid, 1); GameTextForPlayer(playerid, "~g~RC News~n~~r~Type /exit to go outside", 3000, 5); LoadInterior(playerid); FadePlayerScreen(playerid, BLACK, 15);