SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Romānă/Romanian

Reply
 
Thread Tools Display Modes
Old 27/03/2018, 09:13 PM   #1
Filip21
Little Clucker
 
Join Date: Nov 2017
Posts: 6
Reputation: 0
Default Problema cu gasirea masinile personale.

Bun deci am o problema, am facut comanda vipname si problem este ca daca dai /vipname pe o masina personala spune ca nu sunt intr-una.

PHP Code:
new PlayerSlot playerVariables[playerid][VehicleSlot]; 
if(
PVeh[PlayerSlot][playerid][Vehicle] != vehicleid) return SCM(playeridCOLOR_GREY"You have to be in your personal vehicle!"); 
Nu inteleg care ar fii problema, la restrictia asta m-am luat dupa comanda /park si aia functioneaza cum trebuie...
Filip21 is offline   Reply With Quote
Old 27/03/2018, 09:25 PM   #2
Calinut200
Little Clucker
 
Join Date: Jun 2016
Posts: 32
Reputation: 0
Default Re: Problema cu gasirea masinile personale.

Incearca sa faci ceva de genu

PHP Code:
new PlayerSlot playerVariables[playerid][VehicleSlot];  
if(
PVeh[PlayerSlot][playerid][Vehicle] != vehicleid
{
      
codu tau
}
else
{
return 
SCM(playeridCOLOR_GREY"You have to be in your personal vehicle!");  

Calinut200 is offline   Reply With Quote
Old 28/03/2018, 09:05 AM   #3
ForCop
Banned
 
Join Date: Mar 2018
Location: Moldova of Republic
Posts: 122
Reputation: 5
Default Re: Problema cu gasirea masinile personale.

Quote:
Originally Posted by Calinut200 View Post
Incearca sa faci ceva de genu

PHP Code:
new PlayerSlot playerVariables[playerid][VehicleSlot];  
if(
PVeh[PlayerSlot][playerid][Vehicle] != vehicleid
{
      
codu tau
}
else
{
return 
SCM(playeridCOLOR_GREY"You have to be in your personal vehicle!");  

Code:
new PlayerSlot = playerVariables[playerid][VehicleSlot];   // nu este nevoie de creat variabila daca folosesti numai odata playerVariables[playerid][VehicleSlot]
if(PVeh[PlayerSlot][playerid][Vehicle] != vehicleid)  //putem pune si aici playerVariables[playerid][VehicleSlot]
{ 
      codu tau 

} else  return SCM(playerid, COLOR_GREY, "You have to be in your personal vehicle!");
ForCop is offline   Reply With Quote
Old 02/04/2018, 12:41 AM   #4
Filip21
Little Clucker
 
Join Date: Nov 2017
Posts: 6
Reputation: 0
Default Re: Problema cu gasirea masinile personale.

E acelasi lucru cum am facut eu....
Filip21 is offline   Reply With Quote
Reply

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
Help Problema la masinile personale. Virusatu Romānă/Romanian 1 10/01/2013 02:34 PM
Cum se pun masinile personale sonn Romānă/Romanian 4 03/12/2012 12:32 PM
Am o problema cu masinile SilviuCS Romānă/Romanian 4 23/09/2012 02:27 PM
Masinile personale [se inverseaza] TinKode Romānă/Romanian 4 31/03/2012 08:05 PM


All times are GMT. The time now is 07:45 PM.


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