Making a Command (zcmd)
#1

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®
Reply
#2

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

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

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.
Reply
#4

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
Reply
#5

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

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)