10.02.2009, 21:06
Quote:
|
Originally Posted by Plato
Edit:
Just Copy from me... Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
new vehicleid = GetPlayerVehicleID(playerid);
if(newstate == PLAYER_STATE_DRIVER && !IsPlayerInInvalidNosVehicle(playerid,vehicleid))
{
AddVehicleComponent(vehicleid,1010);
}
return 1;
}
Why? Simple.. you not sayd to your Script .. that the variable "vehicleid" is the Vehicle where the player is in |

