06.12.2007, 21:42
No... I tested and it returned the checkpoint ID
Well, this is my script... I tested it with the LVDM gamemode.
Anyway, I reupped the include, you can download from the first post link.
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
new tmp[256];
new cpid = CPS_GetPlayerCheckpoint(playerid);
format(tmp,256,"Vocк entrou no checkpoint %d",cpid);
SendClientMessage(playerid,COLOR_RED,tmp);
return 1;
}
Anyway, I reupped the include, you can download from the first post link.