08.04.2010, 19:49
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if (newstate == PLAYER_STATE_DRIVER)
{
if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 599)
{
GivePlayerWeapon(playerid, 25, -5);
}
}
return 1;
}