15.08.2010, 14:26
Hello! 
How do i reset a player skin he had before he enter the Rhino? You have the enter code here to. I have made it this far only
when you enter a Rhino you get the army skin, i made it like this
but i get warning 206: redundant test: constant expression is non-zero.. (line 4) ")" why? The player gets the army skin even when he enters a Rustler and get freezed :S im sure i will get the same on the exit code.
And if someone could help me with how to give score for players when killing a vehicle (with a player inside it of course) i would be happy!

How do i reset a player skin he had before he enter the Rhino? You have the enter code here to. I have made it this far only
Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
if (OnPlayerExitVehicle(vehicleid, 432)
)
return 1;
}
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if (PlayerEnterVehicle(vehicleid, 432)
)
SetPlayerSkin(playerid, 287);
return 1;
}
And if someone could help me with how to give score for players when killing a vehicle (with a player inside it of course) i would be happy!


