02.04.2009, 23:37
You'd need to do the following.
Put below the Includes:
Put in OnGameModeInit:
Put in OnPlayerPickupPickup:
That's how you properly make a weapon pickup.
Also -
Change the pickup model, type and add cords for CreatePickup.
Change the weaponid and ammo for GivePlayerWeapon.
Put below the Includes:
Код:
new gun1;
Код:
gun1 = CreatePickup(model, type, X, Y, Z);
Код:
If(pickupid == gun1) { GivePlayerWeapon(playerid, weaponid, ammo); } return 1;
Also -
Change the pickup model, type and add cords for CreatePickup.
Change the weaponid and ammo for GivePlayerWeapon.