27.03.2010, 08:27
Hello, this is my 3rd day developing a pickup streamer i've been working on. I've finished everything, but now i'm stuck at one spot! The pickup streamer creates the pickup but doesn't delete the pickup when the user is out of range. The code is below, please take a look.
Code removed, indentation didn't work out.
The new code link is found here: http://pastebin.com/nukP0Ji4
If you can't read what the 2 lines say ( 6 & 7 ). Here it's flat out.
Code removed, indentation didn't work out.
The new code link is found here: http://pastebin.com/nukP0Ji4
If you can't read what the 2 lines say ( 6 & 7 ). Here it's flat out.
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, PickupStreamer[id][Range], PickupStreamer[id][X], PickupStreamer[id][Y], PickupStreamer[id][Z])) {
PickupStreamer[id][PID] = CreatePickup(PickupStreamer[id][Model], PickupStreamer[id][Type], PickupStreamer[id][X], PickupStreamer[id][Y], PickupStreamer[id][Z], PickupStreamer[id][VirtualWorld]);