[HELP] checkpoint
#1

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;
}
Reply
#2

Код:
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;
}
Reply
#3

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


Forum Jump:


Users browsing this thread: 1 Guest(s)