19.12.2013, 06:55
Ok guys, i'm alittle outdated on position spawn (By Camera)
Rigth ?, i need help with configuring it to the general !
Код:
SetPlayerCameraPos(playerid,X.Y.Z)
SetPlayerCameraPos(playerid,X.Y.Z)
#define DIALOG_ID 1 OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == DIALOG_ID) { if(response) { //Code here if the player presses THE FIRST BUTTON (next in your case) } if(!response) { //Code here if the player presses THE SECOND BUTTON (by default if this is not used, the dialog is closed down if this is pressed! } } } CMD:yolo(playerid, params[]) { ShowPlayerDialog(playerid, DIALOG_ID, ...rest of the information...); return 1; }