Jump to content
  • 0

Intrebare


AlexXx95

Question

3 answers to this question

Recommended Posts

forward CarDeleter(vehicleid);

public CarDeleter(vehicleid)

{

    for(new i=0;i<MAX_PLAYERS;i++) {

        new Float:X,Float:Y,Float:Z;

    if(IsPlayerInVehicle(i, vehicleid)) {

        RemovePlayerFromVehicle(i);

        GetPlayerPos(i,X,Y,Z);

        FS_SetPlayerPos(i,X,Y+3,Z);

    }

    SetVehicleParamsForPlayer(vehicleid,i,0,1);

}

    SetTimerEx("VehRes",1500,0,"i",vehicleid);

}

forward VehRes(vehicleid);

public VehRes(vehicleid)

{

    DestroyVehicle(vehicleid);

}

lol

Link to comment
Share on other sites

forward CarDeleter(vehicleid);

public CarDeleter(vehicleid)

{

    for(new i=0;i<MAX_PLAYERS;i++) {

        new Float:X,Float:Y,Float:Z;

    if(IsPlayerInVehicle(i, vehicleid)) {

        RemovePlayerFromVehicle(i);

        GetPlayerPos(i,X,Y,Z);

        FS_SetPlayerPos(i,X,Y+3,Z);

    }

    SetVehicleParamsForPlayer(vehicleid,i,0,1);

}

    SetTimerEx("VehRes",1500,0,"i",vehicleid);

}

forward VehRes(vehicleid);

public VehRes(vehicleid)

{

    DestroyVehicle(vehicleid);

}

merci dar nu functioneaza:|

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.