29.08.2011, 01:36
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new Modelo = GetPlayerVehicleID(playerid);
if(Modelo == 520 || 425 || 432)
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
SetPlayerPos(playerid,x,y,z+3.0);
DestroyVehicle(Modelo);
return 1;
}