pickup mode - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: pickup mode (
/showthread.php?tid=100857)
pickup mode -
Taz86 - 07.10.2009
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
Re: pickup mode -
Peter_Corneile - 07.10.2009
You mean the pickup type that is pickable by a car ?
Re: pickup mode -
Taz86 - 07.10.2009
yup
Re: pickup mode -
sandisk125 - 07.10.2009
the pickup type you want is 14
Re: pickup mode -
Abernethy - 07.10.2009
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);
}
Re: pickup mode -
Peter_Corneile - 07.10.2009
Quote:
vTeleport = CreatePickup(1239, 14, X, Y, Z, -1);
|
Whats that -1 for ? It will give a warning
Re: pickup mode -
Correlli - 07.10.2009
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.
Re: pickup mode -
Peter_Corneile - 07.10.2009
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
Re: pickup mode -
Correlli - 08.10.2009
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.
Re: pickup mode -
Peter_Corneile - 08.10.2009
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