SA-MP Forums Archive
How do i make this? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How do i make this? (/showthread.php?tid=324908)



How do i make this? - Youwannaplayarough?OKAY! - 11.03.2012

I wanna make when a player enters the vehicle it should be like WARNING: This car is owned by %s [The car owner..] and then the Car Name: %s [The one he's entering Example infernus] Please i really need this


Re: How do i make this? - Shabi RoxX - 11.03.2012

which gm u r using? Is thier any vehicle owanble in that?


Re: How do i make this? - Youwannaplayarough?OKAY! - 11.03.2012

Yeah there is im using A Roleplay server I think its somewhere in public OnPlayerEnterVehicle i will put it`? can you tell me a code please.


Re: How do i make this? - Shabi RoxX - 11.03.2012

show your onplayerentervehicle codes


Re: How do i make this? - Youwannaplayarough?OKAY! - 11.03.2012

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    new Model = GetVehicleModel(vehicleid);
    if(Model == 427 && !ispassenger)
    {
        GetPlayerArmour(playerid, StoreArmour[playerid]);
    }
    if(PlayerTied[playerid] != 0) { ClearAnimations(playerid); }
    if(PlayerCuffed[playerid] != 0) { ClearAnimations(playerid); }
    return 1;
}