29.07.2013, 12:38
(
Последний раз редактировалось Blademaster680; 29.07.2013 в 22:25.
)
Resolved!!!!
I am trying to make a delivery job with a dialog to select which delivery you want todo, all that the dialog needs to do is SetPlayerCheckpoint, which it does, but it sends the player back to the spawn spot.
The command:
The Dialog:
I really need your guys help on this
Thank you in advance
I am trying to make a delivery job with a dialog to select which delivery you want todo, all that the dialog needs to do is SetPlayerCheckpoint, which it does, but it sends the player back to the spawn spot.
The command:
Код:
YCMD:loadvan(playerid, params[], help) { ShowPlayerDialog(playerid, DIALOG_FEDEX, DIALOG_STYLE_LIST, "Deliver!", "Car parts", "Delivery", "Cancel"); return 1; }
Код:
if(dialogid == DIALOG_FEDEX) { if(!response) return 0; if(response) { if(listitem == 0) { CP[playerid] = 1; SetPlayerCheckpoint(playerid, -2135.0344, -247.7448, 34.9813, 10); SendClientMessage(playerid, 0xC2A2DAAA, "*Deliver the Car parts to Wheel Arch Angels ASAP!"); return 1; } }
Thank you in advance