13.02.2011, 13:35
when i go in game and go to the place where it should be... there is nothing there... i mean it works, when i step on the dot it open the dialog but the checkpoint is invisible... help
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
if(checkpointid == bank)
{
ShowPlayerDialog(playerid,3,DIALOG_STYLE_LIST,"Ban k","Deposit\r\nWithdraw\r\nBalance","Confirm", "Cancel");
return 1;
}
return 1;
}
[/pawn]
pawn Код:
new bank;
pawn Код:
public OnGameModeInit()
{
bank = CreateDynamicCP(2154.0220,1645.2579,9932.2305, 3.0, -1, -1, -1);
return 1;
}
{
if(checkpointid == bank)
{
ShowPlayerDialog(playerid,3,DIALOG_STYLE_LIST,"Ban k","Deposit\r\nWithdraw\r\nBalance","Confirm", "Cancel");
return 1;
}
return 1;
}
[/pawn]