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(playerid, pimp0);
            
TextDrawShowForPlayer(playerid, pimp1);
            
//hide
            
TextDrawHideForPlayer(playerid, worker0);
            
TextDrawHideForPlayer(playerid, worker1);
            
TextDrawHideForPlayer(playerid, golfer0);
            
TextDrawHideForPlayer(playerid, golfer1);
            
TextDrawHideForPlayer(playerid, triad0);
            
TextDrawHideForPlayer(playerid, triad1);
            
TextDrawHideForPlayer(playerid, army0);
            
TextDrawHideForPlayer(playerid, army1);
            
TextDrawHideForPlayer(playerid, mechanic0);
            
TextDrawHideForPlayer(playerid, mechanic1);
            
TextDrawHideForPlayer(playerid, medic0);
            
TextDrawHideForPlayer(playerid, medic1);
            
TextDrawHideForPlayer(playerid, swat0);
            
TextDrawHideForPlayer(playerid, swat1);
            
TextDrawHideForPlayer(playerid, chicken0);
            
TextDrawHideForPlayer(playerid, chicken1);
            
TextDrawHideForPlayer(playerid, toreno0);
            
TextDrawHideForPlayer(playerid, toreno1);
            
TextDrawHideForPlayer(playerid, pilot0);
            
TextDrawHideForPlayer(playerid, pilot1);
            
TextDrawHideForPlayer(playerid, nang0);
            
TextDrawHideForPlayer(playerid, nang1);
            
GameTextForPlayer(playerid, "~r~SF PIMP", 2000, 5);
            
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 .. \