01.12.2010, 12:11
How can i make it so u can only drive a tank with 50 score??
public OnPlayerStateChange(playerid,newstate,oldstate)
{
new vehicleid = GetPlayerVehicleID(playerid);
if(GetVehicleModel(vehicleid) == 432)
{
if(GetPlayerScore(playerid) < 50) RemovePlayerFromVehicle(playerid);
}
return 1;
}