Need help with checkpoint - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need help with checkpoint (
/showthread.php?tid=532813)
Need help with checkpoint -
1fret - 20.08.2014
Im making a checkpoint that when you enter it it teleports your to the burger shot interior but i kepp getting this error
pawn Код:
C:\Documents and Settings\NADINE.HOME-C13C86E48E\Desktop\New Folder\sampserver 2\gamemodes\lskz.pwn(326) : warning 204: symbol is assigned a value that is never used: "bshotenter"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
and i used it in this
pawn Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
new bshotenter;
if(checkpointid == bshotenter)
{
SetPlayerPos(playerid, 370.9957,-128.4191,1001.4922);
}
return 1;
}
Re: Need help with checkpoint -
Tadas - 20.08.2014
Try to put
at the top of your script
Re: Need help with checkpoint -
1fret - 20.08.2014
i already tried that it didnt work