#1

Код:
CMD:weapons(playerid,params[])
{
SendClientMessage(playerid,COLOR_LRED, "Choose any weapon do you like you have a lot of weapons in the list");
GivePlayerWeapon(playerid, 33, 100);
GivePlayerWeapon(playerid, 34, 100);
GivePlayerWeapon(playerid, 32, 100);
GivePlayerWeapon(playerid, 33, 100);
GivePlayerWeapon(playerid, 38, 250);

return 1;
}
I made this but i don't know how to do it like if you type /weapons it will show you list and if you want gun id 33 you need to pay 500$ for it (for example)

Anyone can help ?

(when i type weapons, it's give me all the weapons in the list)
Reply
#2

I posted something like that a long time ago: https://sampforum.blast.hk/showthread.php?tid=284296 . Feel free to use it. (it is not the most efficient method, it can be much shorter, but you can take some examples from it)
Reply
#3

Got a lot of errors!
Reply
#4

Show the code where you are getting the errors and the code.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)