[FilterScript] Skin Changer
#8

Quote:
Originally Posted by fiki574_CRO
Посмотреть сообщение
I dont need initial {
You tried to compile? If you didnt, try and you will see u dont get any errors!
This is nonsense, study pawn.. if you get no error it does not make your code right. It is LOGICAL incorrect.
So if you type the command
Quote:
if(strcmp(cmd, "/skin", true) == 0)
new tmp[256];
//This is what happen b y typing the command
tmp = strtok(cmdtext,idx); //This is a consequence that has nothing to do with the command
SetPlayerSkin(playerid,strval(tmp));
new string[256], pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "%s commanded Change Skin (/skin ID)", pname);
SendClientMessageToAll(orange, string);

return 1;
}

Reply


Messages In This Thread
Skin Changer - by fiki574 - 24.05.2011, 12:18
Re: Skin Changer - by Phanto90 - 24.05.2011, 12:22
Re: Skin Changer - by fiki574 - 24.05.2011, 12:24
Re: Skin Changer - by Seven_of_Nine - 24.05.2011, 12:25
Re: Skin Changer - by fiki574 - 24.05.2011, 12:27
Re: Skin Changer - by Phanto90 - 24.05.2011, 12:27
Re: Skin Changer - by fiki574 - 24.05.2011, 12:30
Re: Skin Changer - by Phanto90 - 24.05.2011, 12:38
Re: Skin Changer - by fiki574 - 24.05.2011, 12:40
Re: Skin Changer - by Phanto90 - 24.05.2011, 12:41

Forum Jump:


Users browsing this thread: 1 Guest(s)