Problema cu gasirea masinile personale.
#3

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!");
Reply


Messages In This Thread
Problema cu gasirea masinile personale. - by Filip21 - 27.03.2018, 21:13
Re: Problema cu gasirea masinile personale. - by Calinut200 - 27.03.2018, 21:25
Re: Problema cu gasirea masinile personale. - by ForCop - 28.03.2018, 09:05
Re: Problema cu gasirea masinile personale. - by Filip21 - 02.04.2018, 00:41

Forum Jump:


Users browsing this thread: 2 Guest(s)