Quote:
Originally Posted by drichie
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == DIALOG_BCLIST) { if(response) { switch(listitem) { case 0: { SendClientMessage(playerid, 0x00FFFFFF, "Bait-Car 1 Initiated, find a spot to park it."); DestroyVehicle(BC1); DestroyVehicle(BC2); DestroyVehicle(BC3); DestroyVehicle(BC4); DestroyVehicle(BC5); DestroyVehicle(BC6); new Float:x,Float:y,Float:z,Float:a; GetPlayerFacingAngle(playerid,a); GetPlayerPos(playerid,x,y,z); BC1=CreateVehicle(579, x, y, z,a, -1, -1, -1); PutPlayerInVehicle(playerid, BC1, 0); return 1; } } } } return 0; //<-----change this to return 1; }
|
Nope, that didn't work. Still no response, but is there anything else I could try?