SA-MP Forums Archive
vehicle owned by player - 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)
+--- Thread: vehicle owned by player (/showthread.php?tid=604424)



vehicle owned by player - Miller007 - 04.04.2016

Can anyone tell me the code for checking ourselves or others vehicles like

CMD:cars(playerid,params[]) {
new string[128];
if(isnull(params)) player1 = playerid;
else player1 = strval(params);

if(IsPlayerConnected(player1)) {

i dont know what to put i just want all player name if he is connected his cars name and their id as shown in photo
} else return SendClientMessage(playerid, red, "Player Not Connected!");
}




please help me thank you


Re: vehicle owned by player - Miller007 - 04.04.2016

....


Re: vehicle owned by player - Zorono - 07.05.2016

Hh you copying (BTTDM/XEFTDM)
so bad
try your own ideas
hh thats you niel lajara that edited GTTDM and using it as his own


Re: vehicle owned by player - Dayrion - 07.05.2016

Quote:
Originally Posted by Zorono
Посмотреть сообщение
Hh you copying (BTTDM/XEFTDM)
so bad
try your own ideas
hh thats you niel lajara that edited GTTDM and using it as his own
This kind of comment is not necessary. He doesn't copy/paste a gamemode, he tries to reproduce a thing from a gamemode.

Firstly, can you give us your vehicle's variable which content the ID and the owner's vehicle name.
PHP код:
CMD:cars(playerid,params[]) {
new 
string[128];
if(
isnull(params)) player1 playerid;
else 
player1 strval(params);
if(
IsPlayerConnected(player1)) { 
Why do you need params if you are just showing a message box with information?


Re: vehicle owned by player - Zorono - 07.05.2016

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
This kind of comment is not necessary. He doesn't copy/paste a gamemode, he tries to reproduce a thing from a gamemode.

Firstly, can you give us your vehicle's variable which content the ID and the owner's vehicle name.
PHP код:
CMD:cars(playerid,params[]) {
new 
string[128];
if(
isnull(params)) player1 playerid;
else 
player1 strval(params);
if(
IsPlayerConnected(player1)) { 
Why do you need params if you are just showing a message box with information?
this is /stats cmd he just removed many lines and and want replace it with other of cars cmd


Re: vehicle owned by player - elpana27 - 21.06.2016

/vsell error omeone help me I have an error when selling a car the car to its original position is returned


Re: vehicle owned by player - elpana27 - 01.07.2016

alguien tiene el pawno de GTTDM se lo agradeceria


Re: vehicle owned by player - elpana27 - 01.07.2016

someone has the pawno of GTTDM? thank youuuuu


Respuesta: vehicle owned by player - NitroZeth - 14.06.2017

i have GTTDMv9 , but its not free