Help Me
#1

How to add ammo to gamemode ?? .
Gamemode Zombie .
Reply
#2

By using ZCMD incude try this

Quote:

cmd:ammobike(playerid,params[])
{
GivePlayerWeapon(playerid, 32, 10000);
return 1;
}

See the indention..

Try /ammobike you get the gun , you can use it..
Reply
#3

Код:
cmd:myammo(playerid, params[])
{
     SendClientMessage(playerid, -1, "You have bought some ammo for your 'UZI'");
     GivePlayerWeapon(playerid, 32, 60000);
     GivePlayerMoney(playerid, -4000);
     SendClientMessage(playerid, -1, "The 'UZI' Cost 4000$, please stop the zombie apocalypse, you are our only chance!");
     return 1;
}
In game do /myammo buddy and you should get ammo as well as money taken off you.
Reply
#4

GivePlayerWeapon (playerid, 32, 10000);
Edit 10000 = number ammo ? .
Reply
#5

Quote:
Originally Posted by quochuy
Посмотреть сообщение
GivePlayerWeapon (playerid, 32, 10000);
Edit 10000 = number ammo ? .
Yeah
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)