SA-MP Forums Archive
please help - 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: please help (/showthread.php?tid=209557)



please help - darkknight123 - 10.01.2011

Hello I'm trying to script RP commands but I have no clue where to start or even how to do them!
When I try to get them off of "GodFather" scripts the compiler stops responding please help I'm new to scripting and have no clue how to do this :/


Re: please help - Outcast - 10.01.2011

Try using zcmd. It's very easy to use. You can search around forums for download. Also, download couple of different gamemodes and study the code and try to understand it. It's not so hard as it seems.


Re: please help - bartje01 - 10.01.2011

If you're new in making cmds itself:

if (strcmp("/commands", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0xFF3F00AA,"/kill,/tutorial,/rules");
return 1;
}

That's the easiest cmd in my eyes. Already knew how to do this?


Re: please help - darkknight123 - 10.01.2011

Yes I'v already scripted a /help command but i dont know how to do /me or /do commands -.-''