speedruntrainer, try an easier way of adding pickups, using one line and I'd suggest to put the lines under AddStaticVehicle and CreateObject or whatever, but note that they must be under public OnGameModeInit()
AddStaticPickup(371, 2, 2909.068604, -1666.524658, 872.300903);
AddStaticPickup(371, 2, 2909.068604, -1666.524658, 872.300903);
AddStaticPickup(371, 2, 2909.068604, -1666.524658, 872.300903);
Like this.
Red stands for object id - for example, if you want to have health as a pickup, then no need to add a new line like GivePlayerHealth or something, because it will automatically give you health when you pick it up, as FarePak told you. You can find pickup ids here, and weapon ids here.
Green stands for pickup types - like the number 2 means when you collect the pickup, it will respawn after few seconds. You can find different types of pickups here (scroll down to the bottom).
Blue stands for coordinates - you will have to get them yourself.
FarePak wrote almost the same thing as I just did, but I just wanted to explain what the different ids mean and where you can get a full list of them, since you said you are a beginner, hope you don't mind
AddStaticPickup(371, 2, 2909.068604, -1666.524658, 872.300903);
AddStaticPickup(371, 2, 2909.068604, -1666.524658, 872.300903);
AddStaticPickup(371, 2, 2909.068604, -1666.524658, 872.300903);
Like this.
Red stands for object id - for example, if you want to have health as a pickup, then no need to add a new line like GivePlayerHealth or something, because it will automatically give you health when you pick it up, as FarePak told you. You can find pickup ids here, and weapon ids here.
Green stands for pickup types - like the number 2 means when you collect the pickup, it will respawn after few seconds. You can find different types of pickups here (scroll down to the bottom).
Blue stands for coordinates - you will have to get them yourself.
FarePak wrote almost the same thing as I just did, but I just wanted to explain what the different ids mean and where you can get a full list of them, since you said you are a beginner, hope you don't mind