SA-MP Forums Archive
[HELP] 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] checkpoint (/showthread.php?tid=225271)



[HELP] checkpoint - omer5198 - 13.02.2011

i cant use any command when i open my FS only because i added this...can someone find out why?
new bank;
pawn Код:
public OnGameModeInit()
{
    bank = CreateDynamicCP(2154.0220,1645.2579,9932.2305, 3.0, -1, -1, -1);
    return 1;
}
pawn Код:
public OnPlayerEnterCheckPoint(playerid)
{
if(bank)
{
ShowPlayerDialog(playerid,3,DIALOG_STYLE_LIST,"Bank","Deposit\r\nWithdraw\r\nBalance","Confirm", "Cancel");
return 1;
}
return 1;
}



Re: [HELP] checkpoint - XoX - 13.02.2011

Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
if(checkpointid == bank)
{
ShowPlayerDialog(playerid,3,DIALOG_STYLE_LIST,"Bank","Deposit\r\nWithdraw\r\nBalance","Confirm", "Cancel");
return 1;
}
return 1;
}



Re: [HELP] checkpoint - SkizzoTrick - 13.02.2011

Ohh cmon
You should read everything about your CP Streamer from his Forum.