07.05.2009, 19:51
I know the wiki and I read the pickup guide but it doesn't help me. am I doing something wrong? ugh Yes, lol.
I'm just busy for TWO (2) Days trying to ADD just FIVE (5) fucking pickups? The problem is, they won't show up in the server :S There are no errors or warnings in the script
Here is the script:
The pickups: A Health pickup on the ship
Health and Armor at FC
TEC-9 and Sawnoff at FC
The problem is, they won't show up there.
Can somebody help me please?
I'm just busy for TWO (2) Days trying to ADD just FIVE (5) fucking pickups? The problem is, they won't show up in the server :S There are no errors or warnings in the script
Here is the script:
Код:
#include <a_samp> #define GivePlayerHealth #define pickup #define GivePlayerArmor #define GivePlayerWeapon #define OnPlayerPickupPickup #if defined playerid new Health; new Health; new Armor; new Sawnoff new TEC-9 public OnGameModeInit() { Health = CreatePickup(1240, 2, 2000.7, 1568.0, 15.3); //Health Health = CreatePickup(1240, 2, 2099.9, 2186.5, 13.4); //Health Armor = CreatePickup(1242, 2, 2100, 2184,.3, 13.4); //Armor Sawnoff = CreatePickup(350, 2, 2100.8, 2168.8, 13.4); //Sawnoff TEC-9 = CreatePickup(372, 2, 2100.9, 2170.9, 10.8); //TEC-9 return 1; } public OnPlayerPickupPickup(playerid, pickupid); { if(pickupid == Health) { GivePlayerHealth(playerid, 1240, 100); if(pickupid == Health) { GivePlayerHealth(playerid, 1240, 100); if(pickupid == Armor) { GivePlayerArmor(playerid, 1242, 100); if(pickupid == Sawnoff) { GivePlayerWeapon(playerid, 350, 100); if(pickupid == TEC-9) { GivePlayerWeapon(playerid, 372, 1000); return 1; } #endif
Health and Armor at FC
TEC-9 and Sawnoff at FC
The problem is, they won't show up there.
Can somebody help me please?