Hello There, Guest! Login or Register


All the help I need
#12
Aside from that theres still the main problem, why the pickup isn't showing.

Its because you didn't assign the name/"new <blah>" things to the pickup, It tells you in the pickup guide.

For example:
Code:
new retarded;

retarded = AddStaticPickup(350, 2, 2100.8, 2168.8, 13.4);
( This goes in OnGameModeInit )

if(pickupid == Sawnoff) {
GivePlayerWeapon(playerid, 350, 100);
(This goes in OnPlayerPickUpPickUp )

Also this is un-needed

Code:
if(pickupid == Health) {
GivePlayerHealth(playerid, 1240, 100);

if(pickupid == Health) {
GivePlayerHealth(playerid, 1240, 100);

if(pickupid == Armor) {
GivePlayerArmor(playerid, 1242, 100);

The pickup itself gives you health anyway.
Reply


Messages In This Thread
All the help I need - by speedruntrainer - 05-05-2009, 10:41 PM
Re: A very important question. - by Shark - 05-05-2009, 11:21 PM
Re: A very important question. - by FarePak - 05-06-2009, 03:02 AM
Re: A very important question. - by Matthias - 05-06-2009, 05:51 AM
Re: A very important question. - by TeEjAy - 05-06-2009, 06:44 AM
Re: A very important question. - by Matthias - 05-06-2009, 02:23 PM
Re: All the help I need - by speedruntrainer - 05-07-2009, 04:16 PM
Re: All the help I need - by FarePak - 05-07-2009, 04:52 PM
Re: All the help I need - by Matthias - 05-07-2009, 05:28 PM
Re: All the help I need - by FarePak - 05-07-2009, 05:44 PM
Re: All the help I need - by Mark - 05-07-2009, 07:31 PM
Re: All the help I need - by speedruntrainer - 05-08-2009, 01:32 AM
Re: All the help I need - by FarePak - 05-08-2009, 06:54 AM
Re: All the help I need - by Mark - 05-08-2009, 11:04 AM
Re: All the help I need - by speedruntrainer - 05-08-2009, 01:14 PM
Re: All the help I need - by FarePak - 05-08-2009, 01:43 PM
Re: All the help I need - by speedruntrainer - 05-08-2009, 01:54 PM
Re: All the help I need - by FarePak - 05-08-2009, 02:23 PM