26.03.2014, 15:16
When I go into the checkpoint nothing shows up?
Код:
public OnPlayerSpawn(playerid) { //CHECKPOINTS Checkpoint[0] = CreateDynamicCP(207.7453,-101.0984,1005.2578, 2, -1, -1, -1, 50); Checkpoint[1] = CreateDynamicCP(1477.4838,2806.2371,10.7708, 2, -1, -1, -1, 50); //END OF CHECKPOINTS } return 1; }
Код:
// CHECKPOINTS public OnPlayerEnterDynamicCP(playerid, checkpointid) { if(checkpointid == Checkpoint[0]) { ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Choose a car", "Caddy ($7,000) \nQuad ($10,000) \nMower ($2,000)", "Buy", "Cancel"); } } //END OF CHECKPOINTS