SA-MP Forums Archive
Help please! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help please! (/showthread.php?tid=135503)



Help please! - laser50 - 20.03.2010

Hey guys, i have worked very hard on a script, but at the end, its NOT working at all...
could you help me please?

http://pastebin.com/fYhi8hry

If you could, please fix the code for me, thanks.


Re: Help please! - laser50 - 20.03.2010

any1?


Re: Help please! - laser50 - 21.03.2010

come on, i really need help...


Re: Help please! - Correlli - 21.03.2010

Stop bumping and read the forum rules..

What's EXACTLY wrong with it?


Re: Help please! - laser50 - 21.03.2010

Everything xD the commands just dont work, none of them.


Re: Help please! - Fabio11 - 21.03.2010

Код:
if(IsPlayerAdmin(playerid))
This must be inside the command, not before it. Example:

Код:
if (strcmp("/admincmds", cmdtext, true) == 0)
     {
       if(IsPlayerAdmin(playerid))
       {
...



Re: Help please! - laser50 - 21.03.2010

this should work aswell.
as you can see, you need to be admin to use the cmds.


Re: Help please! - Fabio11 - 21.03.2010

So try what I wrote.


Re: Help please! - laser50 - 21.03.2010

Why wouldent i be sure if a scripter with 4 year expierence did that for me??


Re: Help please! - Fabio11 - 21.03.2010

Because it don't works