[Help] PickupStreamer
#6

Pickups are always global, you cant create a pickup for one player only therefore its useless to do
pawn Код:
new GUPlayerPickup[MAX_PLAYERS_EX][MAX_PICKUPS_EX][GUPick_PlayerInfo];
With that knowledge you can remove some pieces of your code

Also you should look in your timer first through all objects and than through the player
Otherwise if as example player is in range of the pickup => pickup gets created
Player two not => pickup gets destroyed again
=> You never see the pickup

The best idea is that you start from the beginning and check out an already existing streamer how they work
Reply


Messages In This Thread
[Help] PickupStreamer - by Minko - 07.04.2013, 10:39
Re: [Help] PickupStreamer - by park4bmx - 07.04.2013, 12:50
Re: [Help] PickupStreamer - by Minko - 07.04.2013, 13:09
Re: [Help] PickupStreamer - by park4bmx - 07.04.2013, 13:13
Re: [Help] PickupStreamer - by Minko - 07.04.2013, 13:23
AW: [Help] PickupStreamer - by Nero_3D - 07.04.2013, 13:43

Forum Jump:


Users browsing this thread: 1 Guest(s)