03.09.2009, 09:41
Put this Up
Hmmz ..... ,
Check this
on PlayerSpawn
This put on under Commands Example : /home <
put this anywhere : P
(didnt check lol )
Код:
new czek;
Check this
Код:
public OnPlayerEnterCheckpoint(playerid) { if(czek == 0) { SendClientMessageToAll(COLOR_RACE, "*** %s (what you want to Type)",Player(playerid)); czek = 1; for(new i; i<MAX_PLAYERS; i++) DisablePlayerCheckpoint(i); } return 1; }
Код:
DisablePlayerCheckpoint(playerid);
Код:
for(new i; i<MAX_PLAYERS; i++){ if(IsPlayerInArea(playerid, -2699.4290, 1241.5670, -2661.3909, 1311.5662) && IsPlayerInArea(i, -2699.4290, 1241.5670, -2661.3909, 1311.5662)){ DisablePlayerCheckpoint(i); SetPlayerCheckpoint(i, -2682.5291,2176.9382,54.9985, 25); czek = 0; } } }
Код:
IsPlayerInArea(playerID, Float:minx, Float:miny, Float:maxx, Float:maxy) { new Float:X, Float:Y, Float:Z; GetPlayerPos(playerID, X, Y, Z); if(X >= minx && X <= maxx && Y >= miny && Y <= maxy) { return 1; } return 0; }