17.06.2014, 16:51
Script: Mine
Problem: When I click TAB (My ID is 1 cuz NPC is 0) opens dialog with admin commands for example slap and when I choose slap, it slaps NPC but not me...
Part of script: I added this just to see if it will show me dialog and it shows...
Problem: When I click TAB (My ID is 1 cuz NPC is 0) opens dialog with admin commands for example slap and when I choose slap, it slaps NPC but not me...
Part of script: I added this just to see if it will show me dialog and it shows...
Код:
if(!IsPlayerNPC(clickedplayerid)) { SPD(playerid,23,DIALOG_STYLE_LIST,"INFORMACIJE I ADMINISTRACIJA","Informacije o igracu\nAdministracija","Odaberi","Izlaz"); } return 1;