SA-MP Forums Archive
Checkpoint problem - 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: Checkpoint problem (/showthread.php?tid=532850)



Checkpoint problem - 1fret - 20.08.2014

Im trying to make an enterable checkpoint but why do i still get this error even when i used it
pawn Код:
C:\Documents and Settings\NADINE.HOME-C13C86E48E\Desktop\New Folder\sampserver 2\gamemodes\lskz.pwn(327) : warning 204: symbol is assigned a value that is never used: "bshotenter"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase
pawn Код:
//under ongamemodeinit
new bshotenter = CreateDynamicCP(2104.1699,-1806.4415,13.5547, 2.1,  -1,  5,  -1, 100.0);
 
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
    new bshotenter;
    if(checkpointid == bshotenter)
    {
        SetPlayerPos(playerid, 370.9957,-128.4191,1001.4922);
       
    }
    return 1;
}



Re: Checkpoint problem - SnG.Scot_MisCuDI - 20.08.2014

pawn Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
    if(checkpointid == bshotenter)
    {
        SetPlayerPos(playerid, 370.9957,-128.4191,1001.4922);
       
    }
    return 1;
}



Re: Checkpoint problem - 1fret - 20.08.2014

Quote:
Originally Posted by SnG.Scot_MisCuDI
Посмотреть сообщение
pawn Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
    if(checkpointid == bshotenter)
    {
        SetPlayerPos(playerid, 370.9957,-128.4191,1001.4922);
       
    }
    return 1;
}
Thx dude


Re: Checkpoint problem - gtasarules14 - 20.08.2014

Quote:
Originally Posted by 1fret
Посмотреть сообщение
Thx dude
Removed.