03.09.2009, 07:47
Hey 
i need,someone who knows,to explain me how to put markers ^^
Plz
i meant that kind of markers:

i need,someone who knows,to explain me how to put markers ^^
Plz

i meant that kind of markers:


for(new i = 0;i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
SetPlayerMarkerForPlayer(playerid, i, 0xa9c4e4ff);
}
}
|
Originally Posted by Calgon
pawn Код:
|


public OnPlayerEnterCheckpoint(playerid)
|
Originally Posted by Imran.Abbas
You mean
Код:
public OnPlayerEnterCheckpoint(playerid) |
|
Originally Posted by Imran.Abbas
You mean
Код:
public OnPlayerEnterCheckpoint(playerid) |
SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 3.0);
new czek;
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;
}
