Posts: 2,431
Threads: 86
Joined: Nov 2009
Reputation:
0
How do i use this command so when someone does a command it saves there skin, then when they do like EX:
/onduty
saves the skin for the later command below.
/offduty
it puts back there Civilian skin.
Posts: 369
Threads: 14
Joined: Apr 2009
Reputation:
0
Main:
new SavedSkin[MAX_PLAYERS];
You can use dcmd or strcmp
and on your command
"/onduty"
SavedSkin[playerid] = GetPlayerSkin(playerid);
and
"/offduty"
SetPlayerSkin(playerid,SavedSkin[playerid]);
Posts: 1,782
Threads: 306
Joined: Jan 2010
Reputation:
0
You should of noticed after 1 minute :P
Posts: 2,431
Threads: 86
Joined: Nov 2009
Reputation:
0
That is a lie it tells you when you click post that someone just posted a reply. xD