Spy help
#1

Guys i did this.
pawn Код:
CMD:spyusa(playerid,parmas[])
    {
    if(gPlayerClass[playerid] == SPY)
        {
    SetPlayerSkin(playerid,287);
    SetPlayerColor(playerid,COLOR_BLUE);
        }
        else
    {
   SendClientMessage(playerid,COLOR_DARKRED,"ERROR: You need to get SPY Class to use this Command");
    }
    return 1;

    }
In game i want that player color in change will remain same as team. if his team is Germany (orange colour) than it will remain orange during chat. but his map icon change to blue (which is USA team colour). And when he kill by some one or commit sucide than his skin and colour will change back (normal)...
Please i need help....
Reply
#2

Any one. please.....
Reply
#3

Loop + https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer Also, set a var.. like Spying[playerid] = 1;

OnPlayerDeath -> if(Spying[playerid] = 1) { SetPlayerSkin(playerid, 162); }
Reply
#4

pawn Код:
SetPlayerMarkerForPlayer( 42, 1, ( GetPlayerColor( 1 ) & 0xFFFFFF00 ) );
I am not understanding correctly. Please Snipa can u help??
Reply
#5

Any one??
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)