cmd dont work :(
#1

this cmd dont work

pawn Код:
if(!strcmp("/setskintome", cmdtext, true))
{
   new tmp[256],idx,skinid,string[128];
   tmp = strtok(cmdtext,idx);
   if(sscanf(tmp,"d",skinid)) {
      SendClientMessage(playerid, COLOR_USAGE,"[USAGE] /setskintome [skinid]");
      return 1;
   }
   SetPlayerSkin(playerid, skinid);
   format(string,128,"%s set his skinid %d with "C_CMD"/setskintome",PlayerName(playerid));
   SendClientMessageToAll(COLOR_ORANGE,string);
   return 1;
}
Reply


Messages In This Thread
cmd dont work :( - by dr.lozer - 09.01.2013, 09:37
Re: cmd dont work :( - by Konstantinos - 09.01.2013, 09:39
Re: cmd dont work :( - by dr.lozer - 09.01.2013, 11:31

Forum Jump:


Users browsing this thread: 1 Guest(s)