SA-MP Forums Archive
Some help, please! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Some help, please! (/showthread.php?tid=275707)



Some help, please! - Setkus - 10.08.2011

Hey, guys!
I want to ask for you some help. Is there any way that for example player didnt have 50xp and he gets into hydra and some title says: You need 50xp to enter in hydra. Please help me if this possible. I hope you understand me


Re: Some help, please! - =WoR=Varth - 10.08.2011

pawn Код:
public OnPlayerEnterVehicle(playerid,vehicleid,ispassenger)
{
    if(GetVehicleModel(vehicleid) == 520)
    {
        if(GetPlayerScore(playerid) < 3)
        {
            ApplyAnimation(playerid,"CARRY","crry_prtial",4,0,0,0,0,1);
            SendClientMessage(playerid,color,"Your score isn;t enough.");
            return 1;
        }
    }
    return 1;
}



Re: Some help, please! - Setkus - 10.08.2011

Oh, thanks, dude!