29.08.2016, 13:31
So basically I made a dialog which comes up after spawn after registeration.It doesn't shows up. Whats the problem?
In functions after the player registers and spawns
Between other dialogs in OnDialogResponse
EDIT: I found that every dialog is not working
In functions after the player registers and spawns
Код:
ShowPlayerDialog(playerid, WELCOMEMAT, DIALOG_STYLE_MSGBOX, "Tutorial-OGRP", "Would you like OGRP to guide you?", "Yes", "No");
Код:
#define WELCOMEMAT (9876)
Код:
else if(dialogid == WELCOMEMAT) { if(response) { SendClientMessage(playerid,0x008000FF, "___PART 1____"); SendClientMessage(playerid,0x008000FF, "Buy a car using your car voucher which is refunded to you."); CP[playerid] = 1; SetPlayerCheckpoint(playerid, 1647.2083, -1895.2522 ,13.5527, 3.0); } else { SendClientMessage(playerid, 0xFF0000FF, "Follow the rules and respect each other. Have a nice stay."); } }