[PEDIDO] Carros particulares
#3

Tente assim

Topo do GameMode
PHP код:
new GroveCars[5]; 
Agora na public OnGameModeInit
PHP код:
GroveCars[0] = AddStaticVehicleEx(560,2499.41040039,-1680.92236328,13.04005051,0.00000000,86,1,90000); //Sultan
GroveCars[1] = AddStaticVehicleEx(560,2494.81127930,-1681.11352539,13.04005051,2.00000000,86,1,90000);
GroveCars[2] = AddStaticVehicleEx(560,2489.79638672,-1681.34619141,13.04005051,1.99951172,86,1,90000
Vб colocando assim por diante, mudando o nъmero [3], [4]... e colocando os veiculos na frente no mesmo geito do exemplo..


Agora na public OnPlayerStateChange
PHP код:
if(vid==GroveCars[0]||||vid==GroveCars[1])
 {
   if(
Profissao[playerid] == GROVE//troca pelo o que voce colocou no new para fazer org/profissao
  
{
  }
  else
 {
  
SendClientMessage(playerid,VERDE,"Vocк nгo tem a chave desse veiculo");
  
RemovePlayerFromVehicle(playerid);
  
TogglePlayerControllable(playerid1);
  }
}
    return 
1;

Crйditos: humildadeforever.
Reply


Messages In This Thread
[PEDIDO] Carros particulares - by thaw_ps - 10.03.2012, 00:06
Re: [PEDIDO] Carros particulares - by DouglasRodrigues - 10.03.2012, 00:15
Re: [PEDIDO] Carros particulares - by Đeagle - 10.03.2012, 00:17
Re: [PEDIDO] Carros particulares - by thaw_ps - 10.03.2012, 00:47
Re: [PEDIDO] Carros particulares - by Đeagle - 10.03.2012, 00:54
Re: [PEDIDO] Carros particulares - by thaw_ps - 10.03.2012, 00:57
Re : Re: [PEDIDO] Carros particulares - by steeldark - 10.03.2012, 01:05
Re: [PEDIDO] Carros particulares - by Đeagle - 10.03.2012, 01:10
Re: [PEDIDO] Carros particulares - by thaw_ps - 10.03.2012, 01:16
Re : Re: [PEDIDO] Carros particulares - by steeldark - 10.03.2012, 01:21

Forum Jump:


Users browsing this thread: 5 Guest(s)