SA-MP Forums Archive
Making a Command (zcmd) - 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)
+--- Thread: Making a Command (zcmd) (/showthread.php?tid=281305)



Making a Command (zcmd) - Saw® - 05.09.2011

Hello Guys, i'd like to know how to Make a command ((/givegun)) so , if a player do it /givegun [id] [nameofGun]

Note : This don't spawn the ohter player a gun! but only give him a Gun(Ex : i have Eagle i want to give it to other player i do : /givegun [3] [Eagle]

Greeting , Saw®


Re: Making a Command (zcmd) - Kingunit - 05.09.2011

This is how you make a ZCMD command. Start with that:

pawn Код:
CMD:test(playerid, params[])
{
    //Command action
    return 1;
}



Re: Making a Command (zcmd) - [HiC]TheKiller - 05.09.2011

https://sampforum.blast.hk/showthread.php?tid=246956
http://forum.sa-mp.com/showpost.php?...37&postcount=6
https://sampforum.blast.hk/showthread.php?tid=58026

I'm not going to recreate it because I'm sure you can edit a few things to change it to your liking.


Re: Making a Command (zcmd) - Saw® - 05.09.2011

nope ,i want to check if the player had this weapon before giving it. it is like a RP /givegun
so, i wan it using zcmd+sscanf2 so , i need Help


Re: Making a Command (zcmd) - Kingunit - 05.09.2011

Do you have any expierence with making a ZCMD command? Just saying 'I want this ... ' doens't solve your problem.


Re: Making a Command (zcmd) - SantarioLeone - 05.09.2011

The Search bar is your friend, use it to your advantage, if people see you put in effort to try and fix/create it your self people would be more than happy to help you but just asking for it wont get you anywhere. Put in some effort, and i'll gladly try and assist you.