#1

I am trying to made a police enqipment and allways getting error on ondialogresponse can somone made ondialogresponse for me ?
Код:
CMD:duty(playerid, params[])
{
	if(IsPlayerInRangeOfPoint(playerid, 3.0, 326.9761,307.0905,999.1484))
	{
	    ShowPlayerDialog(playerid, DIALOG_DUTY, DIALOG_STYLE_LIST, "PoliceDepartment Enqimpent", "Weapons\nUniformes", "Kupi", "Izlezi");
	    }
	    
	    else SendClientMessage(playerid, 0x46E850FF, "Ne ste na mestoto kade sto se zima oprema.!");

	return 1;
}
Okey i want on weapons dialog with 9mm , deagle , rifle , shotgun , sniper..
on uniformes i want a dialog the first need to be Uniform 1 , Unifor 2 , Unifor 3 , Unifor 4 , uniform 5
on uniform 1 the skin change in 280 , 2 - 281 , 3 - 282 , 4 - 283 and 5 -285
Reply
#2

What error do you face while compiling ?
Reply
#3

Quote:
Originally Posted by Rittik
Посмотреть сообщение
What error do you face while compiling ?
a lot of errors :S i don't now to script alot in zcmd i've started scriptin in zcmd 2days ago :S
Reply
#4

You are missing some brackets.

pawn Код:
CMD:duty(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 3.0, 326.9761,307.0905,999.1484))
    {
        ShowPlayerDialog(playerid, DIALOG_DUTY, DIALOG_STYLE_LIST, "PoliceDepartment Enqimpent", "Weapons\nUniformes", "Kupi", "Izlezi");
    }
    else
    {
        SendClientMessage(playerid, 0x46E850FF, "Ne ste na mestoto kade sto se zima oprema.!");
    }
    return 1;
}
Requesting scripts shouldn't be done in this section.
Reply
#5

Quote:
Originally Posted by Bible
Посмотреть сообщение
You are missing some brackets.

pawn Код:
CMD:duty(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 3.0, 326.9761,307.0905,999.1484))
    {
        ShowPlayerDialog(playerid, DIALOG_DUTY, DIALOG_STYLE_LIST, "PoliceDepartment Enqimpent", "Weapons\nUniformes", "Kupi", "Izlezi");
    }
    else
    {
        SendClientMessage(playerid, 0x46E850FF, "Ne ste na mestoto kade sto se zima oprema.!");
    }
    return 1;
}
Requesting scripts shouldn't be done in this section.
Where to request ?
Reply
#6

Quote:
Originally Posted by JakeHunter1
Посмотреть сообщение
Where to request ?
https://sampforum.blast.hk/showthread.php?tid=447813
Reply
#7

Quote:
Originally Posted by doreto
Посмотреть сообщение
All are closed
Reply
#8

bump !
Reply
#9

Just post your errors.
Reply
#10

Quote:
Originally Posted by Bible
Посмотреть сообщение
You are missing some brackets.

pawn Код:
CMD:duty(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 3.0, 326.9761,307.0905,999.1484))
    {
        ShowPlayerDialog(playerid, DIALOG_DUTY, DIALOG_STYLE_LIST, "PoliceDepartment Enqimpent", "Weapons\nUniformes", "Kupi", "Izlezi");
    }
    else
    {
        SendClientMessage(playerid, 0x46E850FF, "Ne ste na mestoto kade sto se zima oprema.!");
    }
    return 1;
}
Requesting scripts shouldn't be done in this section.
Did you try this ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)