31.12.2011, 14:16
i am following the tutorial here: https://sampforum.blast.hk/showthread.php?tid=194471
I want to make a enter building check point here's my script:
I kept on getting this error:
error 017: undefined symbol "checkpointid"
Please , anyone where's my problem .
P/S i included streamer by Incognito Streamer
#include <streamer> on top of my script.
I want to make a enter building check point here's my script:
Код:
new LVPD_enter;
public OnGameModeInit()
{
LVPD_enter = CreateDynamicCP(2290.0059,2431.4236,10.8203, 4.0 , -1, -1, -1, 100);
return 1;
}
public OnPlayerEnterDynamicCP(playerid)
{
if(checkpointid == LVPD_enter){
if(!IsPlayerInVehicle(playerid))
{
RemovePlayerFromVehicle(playerid);
SetPlayerInterior(playerid, 3);
}
return 1;
}
return 1;
}
error 017: undefined symbol "checkpointid"
Please , anyone where's my problem .
P/S i included streamer by Incognito Streamer
#include <streamer> on top of my script.

