28.03.2010, 18:41
Hey!
So, what I want to make for that is this:
Make so its available to admins to do /Fire (ID/Playername)
Then the player what gets that gets effected with those lines (SetPlayerSkin, SetPlayerColor, gTeam...)
So how to make that?
Regards,
Assyria
Код:
if (strcmp("/Fire", cmdtext, true, 10) == 0) { gTeam[playerid] = TEAM_FIRE; SetPlayerSkin(playerid, 135); SetPlayerColor(playerid, 0xFFFFFFAA); SendClientMessage(playerid,0xAA0000AA,"You got fired!"); return 1; }
Make so its available to admins to do /Fire (ID/Playername)
Then the player what gets that gets effected with those lines (SetPlayerSkin, SetPlayerColor, gTeam...)
So how to make that?
Regards,
Assyria