SA-MP Forums Archive
Need help with the class selection - 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: Need help with the class selection (/showthread.php?tid=360060)



Need help with the class selection - Pokiri_Boii - 16.07.2012

Hey All ,

I Just Needed To add some fire or lights in the class selection ... Can anyone help me ?

PHP код:
    //-------------------------------SF Pimp
        
case 1:
        {
            
//pimp
            
TextDrawShowForPlayer(playeridpimp0);
            
TextDrawShowForPlayer(playeridpimp1);
            
//hide
            
TextDrawHideForPlayer(playeridworker0);
            
TextDrawHideForPlayer(playeridworker1);
            
TextDrawHideForPlayer(playeridgolfer0);
            
TextDrawHideForPlayer(playeridgolfer1);
            
TextDrawHideForPlayer(playeridtriad0);
            
TextDrawHideForPlayer(playeridtriad1);
            
TextDrawHideForPlayer(playeridarmy0);
            
TextDrawHideForPlayer(playeridarmy1);
            
TextDrawHideForPlayer(playeridmechanic0);
            
TextDrawHideForPlayer(playeridmechanic1);
            
TextDrawHideForPlayer(playeridmedic0);
            
TextDrawHideForPlayer(playeridmedic1);
            
TextDrawHideForPlayer(playeridswat0);
            
TextDrawHideForPlayer(playeridswat1);
            
TextDrawHideForPlayer(playeridchicken0);
            
TextDrawHideForPlayer(playeridchicken1);
            
TextDrawHideForPlayer(playeridtoreno0);
            
TextDrawHideForPlayer(playeridtoreno1);
            
TextDrawHideForPlayer(playeridpilot0);
            
TextDrawHideForPlayer(playeridpilot1);
            
TextDrawHideForPlayer(playeridnang0);
            
TextDrawHideForPlayer(playeridnang1);
            
GameTextForPlayer(playerid"~r~SF PIMP"20005);
            
SetPlayerInterior(playerid,0);
            
SetPlayerPos(playerid, -2718.6787,1369.0715,7.1875);
            
SetPlayerFacingAngle(playerid,150.9731);
            
SetPlayerCameraPos(playerid, -2722.37,1362.35,9.08);
            
SetPlayerCameraLookAt(playerid, -2718.6787,1369.0715,7.1875);
            
PlayerPlaySound(playerid,SOUND_MUSIC1,-2718.6787,1369.0715,7.1875);
        } 
I would be very grateful if you can help me !!


Re: Need help with the class selection - Devilxz97 - 16.07.2012

CreatObject , fire and light object


Re: Need help with the class selection - Pokiri_Boii - 16.07.2012

Thank You Dude..


Re: Need help with the class selection - Dan. - 16.07.2012

pawn Код:
CreateExplosion(X, Y, Z, 11, 1.0); // Replace X, Y, Z with the coordinates where your explosion should be.



Re: Need help with the class selection - Pokiri_Boii - 17.07.2012

Thank you Very Muj .. \