Pickup problem
#1

I just back scripting, i was in 0.2.2 and my gamemode work good.
but in 0.3a the pickups doesnt appear.
i dont know if its the version or somthing..
for example:
CreatePickup(1239, 1, 1173.2563,-1323.3102,15.3943); //Hospital 1 near Amm
CreatePickup(1239, 1, 2029.5945,-1404.6426,17.2512); //Hospital 2 near speedway
CreatePickup(1239, 1, 253.9280,69.6094,1003.6406); //Clear icon in Police Station

but they doesnt appear.
What the problem?
Reply
#2

Pickup Types <---Link<---

when you

CreatePickup(1239, 1 the 1 means not pickupable
Reply
#3

I changed to 23 and its steal doesnt work.
Reply
#4

The reason might be the virtual world id is missing at the end.

CreatePickup(1239, 1, 1173.2563,-1323.3102,15.3943); //Hospital 1 near Amm

Should be like:
CreatePickup(1239, 1, 1173.2563,-1323.3102,15.3943, -1); //Hospital 1 near Amm

-1 makes it show in all worlds. More: https://sampwiki.blast.hk/wiki/CreatePickup
Reply
#5

thanks mate, thats help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)