05.05.2010, 01:25
Exemplo:
pawn Code:
if(current == gps)
{
switch(row)
{
case 0:
{
SetPlayerCheckpoint(playerid, 1481.1926,-1764.2736,18.7958,8.0);//prefeitura
}
pawn Code:
public OnPlayerEnterCheckpoint(playerid)
{
if(IsPlayerInRangeOfPoint(playerid,8,1481.1926,-1764.2736,18.7958) {DisablePlayerCheckpoint(playerid);SendClientMessage(playerid,COR_AQUI," Vocк chegou ao seu destino!");}
return 1;
}