Posts: 1,087
Threads: 103
Joined: Mar 2009
Quote:
Originally Posted by SkizzoTrick
WOw this is a nooby question but read Wiki next time
You want it to get deleted?
pawn Код:
public OnPlayerEnterCheckpoint(...) { if(IsPlayerInRangeOfPoint(playerid,10.0,1184.7054,-3702.7004,5.5726)) { GameTextForPlayer(playerid,"Welcome to LS",5000,5); DisablePlayerCheckpoint(playerid); } if(IsPlayerInRangeOfPoint(playerid,10.0,3708.5895,-1507.7553,8.3544)) { GameTextForPlayer(playerid,"Welcome to LE",5000,5); DisablePlayerCheckpoint(playerid); }//Just repeat this return 1; }
or if you want only deletion:
pawn Код:
public OnPlayerEnterCheckpoint(...) { DisablePlayerCheckpoint(playerid); return 1; }
|
What should I add in the ... dots?
pawn Код:
public OnPlayerEnterCheckpoint(...)
{
DisablePlayerCheckpoint(playerid);
return 1;
}