pickup mode
#1

heyy

wiki samp not loading to me


what is the correct type of pickup mode if i want car to touch "i" Icon and gets tp

Reply
#2

You mean the pickup type that is pickable by a car ?
Reply
#3

yup
Reply
#4

the pickup type you want is 14
Reply
#5

pawn Код:
// Top of script
new vTeleport;

// OnGameModeInit
vTeleport = CreatePickup(1239, 14, X, Y, Z, -1);

// OnPlayerPickUpPickup - I recommend you using PlayerToPoint.
if (pickupid == vTeleport)
{
    SetVehiclePos(GetPlayerVehicleID(playerid), X, Y, Z);
}
Reply
#6

Quote:

vTeleport = CreatePickup(1239, 14, X, Y, Z, -1);

Whats that -1 for ? It will give a warning
Reply
#7

Quote:
Originally Posted by Peter Corneile [hugu-hosting.co.uk
]
Quote:

vTeleport = CreatePickup(1239, 14, X, Y, Z, -1);

Whats that -1 for ? It will give a warning
No it won't if he's using 0.3 include files. -1 is the default value for pickup's virtual world, if you set it as -1 then you can see the pickup in any virtual world.
Reply
#8

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Peter Corneile [hugu-hosting.co.uk
]
Quote:

vTeleport = CreatePickup(1239, 14, X, Y, Z, -1);

Whats that -1 for ? It will give a warning
No it won't if he's using 0.3 include files. -1 is the default value for pickup's virtual world, if you set it as -1 then you can see the pickup in any virtual world.
Ahh kk , didnt know that
Reply
#9

Quote:
Originally Posted by Peter Corneile [hugu-hosting.co.uk
]
Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Peter Corneile [hugu-hosting.co.uk
]
Quote:

vTeleport = CreatePickup(1239, 14, X, Y, Z, -1);

Whats that -1 for ? It will give a warning
No it won't if he's using 0.3 include files. -1 is the default value for pickup's virtual world, if you set it as -1 then you can see the pickup in any virtual world.
Ahh kk , didnt know that
https://sampwiki.blast.hk/wiki/CreatePickup
https://sampwiki.blast.hk/wiki/AddStaticPickup
the pages are updated some time now, you can check them.
Reply
#10

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Peter Corneile [hugu-hosting.co.uk
]
Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Peter Corneile [hugu-hosting.co.uk
]
Quote:

vTeleport = CreatePickup(1239, 14, X, Y, Z, -1);

Whats that -1 for ? It will give a warning
No it won't if he's using 0.3 include files. -1 is the default value for pickup's virtual world, if you set it as -1 then you can see the pickup in any virtual world.
Ahh kk , didnt know that
https://sampwiki.blast.hk/wiki/CreatePickup
https://sampwiki.blast.hk/wiki/AddStaticPickup
the pages are updated some time now, you can check them.
Alright thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)