setting a timer with playerpos
#1

i have pickups, but i dont want them to be abused

i thought of

settimer ect
then onplayerpickuppickup

and if the dude kept going over the pickups, they would get a kick, but i have no clue how to do it cause that doesnt look correct to me
Reply
#2

Simply use this:

CreatePickup(model,3,X,Y,Z,virtualworld);

Using 3 in type will make the player see the pickup again after he respawns, So he can get it only once a life.

For more info check this https://sampwiki.blast.hk/wiki/PickupTypes
Reply
#3

Quote:
Originally Posted by Crashty
Посмотреть сообщение
Simply use this:

CreatePickup(model,3,X,Y,Z,virtualworld);

Using 3 in type will make the player see the pickup again after he respawns, So he can get it only once a life.

For more info check this https://sampwiki.blast.hk/wiki/PickupTypes
i need the pickups to stay there

but i thought of destroy pickup then set a timer
Reply
#4

I think it would stay there for the other players, but I'm not too sure. I only use pickups for houses, businesses and entrances. Not really to get life, etc.
Reply
#5

It will disappear for who ever picked it up, Other players can see it..
Reply
#6

if you want set max pick up per player per hour i can help but i need to know exatly what you mean i can help because i have max pick up 10 per hour over a 5 min timer bettwenn pick up so you only allowed one every 5 mins and 10 in a hour if you wish and tell me every thing you want it to do ill script it for you
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)