[HELP] Terrorist Random Skin +1Rep
#1

Hello guys , Sorry I'm newbie here at pawno I have two teams Army and Terrorist
I Want To Spawn Terrorist with Random skin but how??

and this is the Terrorist Code

{"Terrorist", 0XFF353596 , 285} // TEAM NAME , COLOR , SKIN

HOW to make it random?? thank you +1Reputation
Reply
#2

Reply
#3

What skin ids do you want?
Reply
#4

24 39 29 125
Reply
#5

or any skin bro I can change that later thank you!! 4 skin
Reply
#6

ї??
Reply
#7

PHP код:
new value random(4);
switch(
value)
    {
        case 
0:
        {
            
SetPlayerSkin(playerid112);
            return 
1;
        }
           case 
1:
        {
            
SetPlayerSkin(playerid112);
            return 
1;
        }
        case 
2:
        {
            
SetPlayerSkin(playerid112);
            return 
1;
        }
        case 
3:
        {
            
SetPlayerSkin(playerid112);
            return 
1;
        }

You dont have to put in return 1;
Reply
#8

where I'm gonna put that code ? gonna add on terrorist skin code above?
Reply
#9

hmm?
Reply
#10

OnPlayerSpawn

Check if player is in terrorist team and then put this underneath it
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)