[HELP](ZCMD)I need Help Wth -
donhu789 - 16.08.2013
How can i make Some Thing Like This With ZCMD i can make almost same it only I need Requesxt Help From hight Lords Scripter can Anyone help my with those commands pleasee.i Realy Thanks Full for your help
Re: [HELP](ZCMD)I need Help Wth -
donhu789 - 16.08.2013
http://postimg.org/image/z6or7vlpf/
http://postimg.org/image/gse83w9er/
http://postimg.org/image/v532oh40z/
http://postimg.org/image/wrsa9pg2r/
ops post wrong can any one help with those Commands please look in the pictrue
Re: [HELP](ZCMD)I need Help Wth -
hariboo - 16.08.2013
i dont really understand what you need.
Re: [HELP](ZCMD)I need Help Wth -
donhu789 - 16.08.2013
i need /rules and /cmds like the pic
Re: [HELP](ZCMD)I need Help Wth -
hariboo - 16.08.2013
Код:
CMD:command(playerid)
{
// WRITE UR RULES
return 1;
}
Re: [HELP](ZCMD)I need Help Wth -
Blast3r - 16.08.2013
Quote:
Originally Posted by hariboo
Код:
CMD:command(playerid)
{
// WRITE UR RULES
return 1;
}
|
First of all, you wrote the CMD: wrong, it should be
pawn Код:
CMD:command(playerid,params[])
{
return 1;
}
Second of all, you could explain to him how to do the "rules".
Alright, so, you're going to need to use dialogs, so yeah.
https://sampwiki.blast.hk/wiki/ShowPlayerDialog
Good luck.
Re: [HELP](ZCMD)I need Help Wth -
donhu789 - 16.08.2013
lol make the Example Please Any Scripter Here the /commands change to /cmds and the /rules can anyone make like the pic
Re: [HELP](ZCMD)I need Help Wth -
Blast3r - 16.08.2013
Quote:
Originally Posted by donhu789
lol make the Example Please Any Scripter Here the /commands change to /cmds and the /rules can anyone make like the pic
|
Alright..
But I strongly suggest you learn from the wikipedia.
pawn Код:
CMD:rules(playerid,params[])
{
ShowPlayerDialog(playerid, 52, 0, "Rules", "Rule 1: Blah Blah\nRule 2: Blah blah", "Agree", "Decline");
return 1;
}
That's just an example, you also have OnDialogResponse, you can use that if you want them to get kicked at the time you press "Decline". If you want, I can show you an example of that too.
EDIT: read the link I sent ya for more information of what I did.
Re: [HELP](ZCMD)I need Help Wth -
hariboo - 16.08.2013
Quote:
Originally Posted by hariboo View Post
Code:
CMD:command(playerid)
{
// WRITE UR RULES
return 1;
}
First of all, you wrote the CMD: wrong, it should be
pawn Code:
CMD:command(playerid,params[])
{
return 1;
}
|
its not wrong lol. if u dont use any of the params, why do u have to write them. everything works fine.
Re: [HELP](ZCMD)I need Help Wth -
NoahF - 16.08.2013
Quote:
Originally Posted by hariboo
its not wrong lol. if u dont use any of the params, why do u have to write them. everything works fine.
|
You have to put params[]. You can just do #pragma unused params.