Solid pickups help
#1

Why do i have pickups that are solid and don't spin? like I cant walk through them. but some do spin and you can go through them?

Its kinda hard to explain but its almost like some of my pickups are objects, not pickups. Yet I have searched everywhere in my gamemode for the pickups that are not spinning and I cant find them anywhere.

Any help would be great.
Reply
#2

That's according to your pickup type.
https://sampwiki.blast.hk/wiki/CreatePickup
https://sampwiki.blast.hk/wiki/PickupTypes
Example of pickup's don't dissapear after walking through it.
pawn Код:
CreatePickup(1242, 1, 1503.3359, 1432.3585, 10.1191, -1);
Example of pickup Pickupable
pawn Код:
CreatePickup(1242, 2, 1503.3359, 1432.3585, 10.1191, -1);
Reply
#3

Quote:
Originally Posted by SilentSoul
Посмотреть сообщение
That's according to your pickup type.
https://sampwiki.blast.hk/wiki/CreatePickup
https://sampwiki.blast.hk/wiki/PickupTypes
Example of pickup's don't dissapear after walking through it.
pawn Код:
CreatePickup(1242, 1, 1503.3359, 1432.3585, 10.1191, -1);
Example of pickup Pickupable
pawn Код:
CreatePickup(1242, 2, 1503.3359, 1432.3585, 10.1191, -1);
Nah' that's not it. He's saying that they are solid and he cannot pick them up, there is no type that state that they are "solid", "not walk through-able" or "not spinning".

Post your OnGameModeInit and let's see what you have.
Reply
#4

My whole ongamemodeinit?
Cuz its like a thousand or so lines
Reply
#5

Quote:
Originally Posted by Blademaster680
Посмотреть сообщение
My whole ongamemodeinit?
Cuz its like a thousand or so lines
^^ Yes whole.
Reply
#6

Quote:
Originally Posted by Blademaster680
Посмотреть сообщение
My whole ongamemodeinit?
Cuz its like a thousand or so lines
You're using 'CreatePickup' function on creating it am i right? If yes when you enter the pickup do you get the health/effect of the pickup? so your only problem is that it won't destroy after you pickup it?
Reply
#7

Quote:
Originally Posted by SilentSoul
Посмотреть сообщение
You're using 'CreatePickup' function on creating it am i right? If yes when you enter the pickup do you get the health/effect of the pickup? so your only problem is that it won't destroy after you pickup it?
Here you go:
Quote:

Why do i have pickups that are solid and don't spin?

Psst: Still waiting for the whole OnGameModeInit. Use pastebin if you want. OR optional, copy and paste only the "CreatePickup" or "CreateDynamicPickup" that you find having inside your OnGameModeInit.

Because these pickups are there whole time right? Not after you type a command or something?
Reply
#8

Here is my code: http://pastebin.com/rb3JxdVy

@SilentSoul no the problem is that I cant walk through them. almost like they a solid if that makes sense. They ment to be pickups to show information when players get near them but they dont spin. There like an object not a pickup
Reply
#9

then you should create a object, a textdraw with information and not a pickup.
Reply
#10

I need the pickup though. An object they cant walk through, which I need them to be able to do and I need the spinning "i". If you know what I mean.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)