SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 22/12/2009, 02:24 PM   #1
Nakash
Huge Clucker
 
Join Date: Jan 2008
Posts: 241
Reputation: 0
Default How to check the ids of players inside the vehicle?

Is there a way to check the players that inside the vehicle?
Thanks.
Nakash is offline  
Old 22/12/2009, 02:28 PM   #2
saiberfun
High-roller
 
saiberfun's Avatar
 
Join Date: Nov 2008
Location: Germany
Posts: 3,306
Reputation: 383
Default Re: How to check the ids of players inside the vehicle?

Quote:
Originally Posted by Uniqueee
Is there a way to check the players that inside the vehicle?
Thanks.
make a loop and check if the player is in vehicle and the vehicleid
if it = ur vehicleid u mean then they are in it
__________________
This could be your space to advertise. :3
saiberfun is offline  
Old 22/12/2009, 02:47 PM   #3
Nakash
Huge Clucker
 
Join Date: Jan 2008
Posts: 241
Reputation: 0
Default Re: How to check the ids of players inside the vehicle?

Quote:
Originally Posted by ┤ŞąiBЄЯҒПŋ├
Quote:
Originally Posted by Uniqueee
Is there a way to check the players that inside the vehicle?
Thanks.
make a loop and check if the player is in vehicle and the vehicleid
if it = ur vehicleid u mean then they are in it
I want to check it in VehicleID,i don't think it's possible.
Nakash is offline  
Old 22/12/2009, 02:50 PM   #4
V1ceC1ty
Banned
 
Join Date: Oct 2008
Location: West Australia
Posts: 1,914
Reputation: 273
Default Re: How to check the ids of players inside the vehicle?

http://wiki.sa-mp.com/wiki/IsPlayerInVehicle
http://wiki.sa-mp.com/wiki/GetPlayerVehicleID
V1ceC1ty is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
check if player is inside a gang zone? Joruz_Tellino Help Archive 3 02/05/2010 05:31 PM
How to enable players to go inside the buildings ? ( unless i create checkpoints AlbanianGuy Help Archive 14 07/02/2010 06:12 AM
How to spawn inside vehicle using cmdtext!, then deleting vehicle after spawn??! DualDier12 Help Archive 17 20/10/2009 03:42 AM
Nametag, apply it to everyone inside the vehicle. Hoppa Help Archive 8 23/05/2009 12:05 PM


All times are GMT. The time now is 08:49 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.