[AYUDA] vehнculos de trabajo y faccion
#1

Hola, como se hace para detectar si me subi a un vehнculo de trabajo o a uno de faccion?


pawn Код:
new Faccion[3];
new Trabajos[3];

public OnGameModeInit()
{

Faccion[0]=AddStaticVehicleEx(427,1544.9489,-1676.1952,5.8668,90.0000,0,1,1000);
Faccion[1]=AddStaticVehicleEx(427,1544.9489,-1672.0538,5.8668,90.0000,0,1,1000);
Faccion[2]=AddStaticVehicleEx(427,1544.9489,-1684.3492,5.8668,90.0000,0,1,1000);


Trabajos[0]=AddStaticVehicleEx(532,-1212.9006,-998.5989,129.2604,270.0000,-1,-1,1000);
Trabajos[1]=AddStaticVehicleEx(532,-1212.9006,-1010.9230,129.2604,270.0000,-1,-1,1000);
Trabajos[2]=AddStaticVehicleEx(532,-1212.9006,-1023.6831,129.2604,270.0000,-1,-1,1000);

return 1;
}

public OnPlayerStateChange(playerid,newstate,oldstate)
{

SendClientMessage(playerid,-1,"Vehнculo de facciуn");

SendClientMessage(playerid,-1,"Vehнculo de trabajo");

return 1;
}
Reply


Messages In This Thread
[AYUDA] vehнculos de trabajo y faccion - by Kageyama - 24.02.2015, 17:37

Forum Jump:


Users browsing this thread: 1 Guest(s)