27.07.2009, 16:10
Hello,
Im trying to make this;
When you enter a pd car as a cop (copskin) a message show up
when you enter the pd car as a civillian another message shows up
But..if you enter the pd car as a civillian being a 'passenger' some 'other' 'different' message shows up XD
This is what i have i changed several times changing the {or } and putting codes in another order but still nothing happens
I need some help here please;
Im trying to make this;
When you enter a pd car as a cop (copskin) a message show up
when you enter the pd car as a civillian another message shows up
But..if you enter the pd car as a civillian being a 'passenger' some 'other' 'different' message shows up XD
This is what i have i changed several times changing the {or } and putting codes in another order but still nothing happens
I need some help here please;
Код:
if(GetVehicleModel(vehicleid) == 598) //LVPD
{
new copskin = GetPlayerSkin(playerid);
new currentState = GetPlayerState(playerid);
if (currentState == PLAYER_STATE_DRIVER)
{
if( (copskin == 287) || (copskin == 163) || (copskin == 282) || (copskin == 255) || (copskin == 165))
{
SendClientMessageToSkin(282, 0x0000FF96, "lvpd cop hitting the road");
}
else
{
SendClientMessage(playerid,0x80008096, "your the none cop driver");
//SendClientMessageToSkin(282, 0x0000FF96, "DISPATCH: Someone enters a lvpd vehicle!");
}
}
}
return 1;
}



this topic is dead already