06.10.2012, 15:19
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER)
{
GivePlayerMoney(playerid,-12);
}
else if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
GivePlayerMoney(playerid,12);
}
return 1;
}