28.12.2012, 17:29
hi, when im using public OnDialogResponse it only lets me put GivePlayerWeapon thats all it cant even
here is the code im using for ex
it dont work can someone help please with this so it can send player message and help with this >> https://sampforum.blast.hk/showthread.php?tid=354763 when i click mechanic or taxi it doesnt give me job thanks. if you help i will rep you
Код:
SendClientMessage
Код:
if(response) { switch(dialogid) { case 2424:// Our dialog! { switch(listitem)// Checking which listitem was selected { case 0: // The first item listed { SendClientMessage(playerid,0x33CCFFAA,"Congratulations with your new job, type /helpjob to see your new command."); wJob[playerid] = 1; //Changes your job to 1 (Mechanic) } case 1: // The second item listed { SendClientMessage(playerid,0x33CCFFAA,"Congratulations with your new job, type /helpjob to see your new command."); wJob[playerid] = 2; //Changes your job to 2 (Taxi) } } } } } return 1;