The same question -.- - 
fmmalves -  13.07.2010
Hi again..
I Have the same annoying bug! When i enter in a aztecas's car apear the message "you aren' t groove"
I check everything, the cars number, everithing but this shit doesn t work.
Please give me exemples or something to fix this!
Re: The same question -.- - 
oliverrud -  13.07.2010
What about you show us your code?
Re: The same question -.- - 
fmmalves -  13.07.2010
else if(PlayerInfo[targetid][pMembro] == 5 || PlayerInfo[targetid][pLider] == 5) { ttext = "Los Aztecas"; }
THIS IS IMPORTANT TO FIX THIS PROBLEM
 
Re: The same question -.- - 
oliverrud -  13.07.2010
Give me the code from where it says you aren't groove, it would look something like this in your code:
else if(PlayerInfo[targetid][pMembro] == 5 || PlayerInfo[targetid][pLider] == 5) { ttext = "You aren't groove"; }
Re: The same question -.- - 
fmmalves -  13.07.2010
The problem is im Portuguese this is in PT language:
I will sent you another exemplo (in alquaeda car apear "you arent army")
AddStaticVehicleEx(520,382.0672,2538.5024,17.2623,  179.0163,102,102,6000000); // hydra alґqaeda 1       [ 297 ]
	AddStaticVehicleEx(425,347.0407,2539.1038,17.5199,  179.0246,102,102,6000000); // hydra alґqaeda 2         [ 298 ]
	AddStaticVehicleEx(487,366.0395,2537.8293,16.8276,  161.9232,102,102,6000000); // heli alґqaeda      [ 299 ]
	AddStaticVehicleEx(432,424.8906,2516.1953,16.4970,  89.8145,102,102,6000000); // tanque alґqaeda 1      [ 300 ]
	AddStaticVehicleEx(432,424.3374,2504.1704,16.4971,  88.5026,102,102,6000000); // tanque alґqaeda 2        [ 301 ]
	AddStaticVehicleEx(402,413.2605,2452.6563,16.2054,  357.5121,102,102,6000000); // carro alґqaeda 1      [ 302 ]
	AddStaticVehicleEx(559,401.1563,2453.1179,16.2052,  359.3275,102,102,6000000); // carro alґqaeda 2       [ 303 ]
	AddStaticVehicleEx(451,407.3538,2460.2817,16.2057,  357.3129,102,102,6000000); // carro alґqaeda 3       [ 304 ]
	AddStaticVehicleEx(541,418.2018,2437.5090,16.2049,  359.6690,102,102,6000000); // carro alґqaeda 4         [ 305 ]
	AddStaticVehicleEx(533,413.4090,2437.3838,16.2049,  1.4261,102,102,6000000); // carro alґqaeda 5       [ 306 ]
	AddStaticVehicleEx(560,408.0492,2437.2141,16.2053,  358.9307,102,102,6000000); // carro alґqaeda 6         [ 307 ]
	AddStaticVehicleEx(470,400.6902,2437.0471,16.2054,  1.0032,102,102,6000000); // carro alґqaeda 7          [ 308 ]
	AddStaticVehicleEx(470,397.4241,2437.1575,16.2052,  359.4397,102,102,6000000); // carro alґqaeda 8       [ 309 ]
	AddStaticVehicleEx(522,392.1531,2436.7544,16.0708,  359.2458,102,102,6000000); // moto alґqaeda 1         [ 310 ]
	AddStaticVehicleEx(522,390.8281,2436.8748,16.0638,  358.4109,102,102,6000000); // moto alґqaeda 2       [ 311 ]
----------------------------------------------------------------------------------------------------------------
Re: The same question -.- - 
fmmalves -  13.07.2010
is more easy someone add my email plz =/// (im so fucking noob)
fmmalves@hotmail.com
Re: The same question -.- - 
oliverrud -  13.07.2010
Do something like 
 at top
Then
pawn Код:
groove = AddStaticVehicle(,,,,,)
 
on gamemodeinit
Then on public OnPlayerStateChange(playerid, newstate, oldstate)
pawn Код:
if(newstate == 2)
{
     if(vehicleid == grove)
      {
        // bla bla
       }
}
 
Not sure if this would work, just made it quick.
Re: The same question -.- - 
legodude -  13.07.2010
add this above OnGameModeInit
Код:
new vehid;
new GroveCars[25];//change this to the number of grove cars
 in OnGameModeInit you do:
Код:
GroveCars[0]==AddStaticVehicleEx(,,,,,,)//do this for all grovecars(with params ofcourse)and change number constantly one up
 in OnPlayerEnterVehicle you add:
in OnPlayerStateChange you add:
Код:
if(newstate==PLAYER_STATE_DRIVER)
{
    for(new groveveh;groveveh<MAX_VEHICLES;groveveh++)
    {
    if("check if the player is grove"&&vehid==groveveh)
         {
         SendClientMessage(playerid,color,"you can drive this car!");
         }
    else
         {
         SendClientMessage(playerid,color,"you are not a grove member");
         }
    }
}
 
NOTE: didnt test this if it fails Send me a PM i will send you a tested piece of code havent got time now
Re: The same question -.- - 
[DK]JaloNik -  13.07.2010
Quote:
| 
					Originally Posted by fmmalves   | 
 We are all noobs...
Re: The same question -.- - 
fmmalves -  13.07.2010
well....IT DOENS WORK ...