23.12.2010, 13:16
(
Последний раз редактировалось boelie; 23.12.2010 в 13:27.
Причина: update of the question
)
Alright idunno if its a bug or what maybe its just me and bad scripting..anyways heres my problem;
I got a gamemode with pickups and at least 2 FS using pickups all made with CreatePickup.
Everything worked fine untill i decided to use a pickup for vehicles only (spawn type 14) into the FilterScript number1.
One of my other FS creates pickups ingame.(lets call it FS number 2) and when it does the vehicle pickup from the FS number 1 is bugged
it responds like it is the ingame created pickup from the FS.
all pickups already created or not are listening to there own value made like exactly like the wiki says;
I tried return 0; on both FS thought that would work but no.
So any suggestions to fix this would be nice
(now im thinking about it im going to try static pickups for the ones that i dont have to create and destroy ingame)
Edit: static pickup wont change anything
I got a gamemode with pickups and at least 2 FS using pickups all made with CreatePickup.
Everything worked fine untill i decided to use a pickup for vehicles only (spawn type 14) into the FilterScript number1.
One of my other FS creates pickups ingame.(lets call it FS number 2) and when it does the vehicle pickup from the FS number 1 is bugged
it responds like it is the ingame created pickup from the FS.
all pickups already created or not are listening to there own value made like exactly like the wiki says;
Код:
new pickup; // Create a variable to store the pickup ID in public OnGameModeInit()(or filterscriptinit) { pickup = CreatePickup(model, pickup type, 1503.3359, 1432.3585, 10.1191, -1); // Create an armour pickup and store the ID in 'pickup' return 1; } // Later.. DestroyPickup(pickup); // Example of using the pickup ID
So any suggestions to fix this would be nice
(now im thinking about it im going to try static pickups for the ones that i dont have to create and destroy ingame)
Edit: static pickup wont change anything