Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

Posted

Problema intalnita (descriere):Deci am avut un gm pe 0.3z si acum mi lam pus pe 0.3.7 si nu imi arata skinurile noi adica cand dau /setskin 301 etc. nu merge WRong id ... 
Ero(area / rile) / warning-(ul / urile): Nici o eroare
Liniile de cod / sursa / script-ul(obligatoriu): -
Imagini / Video (optional):-
Ati incercat sa rezolvati singur?: Da va rog ajutati-ma sunt incepaotr!

3 answers to this question

Recommended Posts

  • 0
Posted
CMD:skin(playerid,params[])
{
	new skin = strval(params);
	new query[300];
	new string[512];
	if(sscanf(params,"i",skin))return SendClientMessage(playerid, -1, "[Use]: /saveskin [skinid]");
	if(skin < 0 || skin > 311) return SendClientMessage(playerid, -1, "[ERROR]: Wrong Skin ID! [0 - 311]");
	SetPlayerSkin(playerid, skin);
	format(string,sizeof(string),"You Have Successfully Saved %d Skin!",skin);
	SendClientMessage(playerid, -1, string);
	return (true);
}

 

  • 0
Posted

Poftim:

CMD:skin(playerid,params[])
{
	new skin = strval(params);
	new string[512];
	if(sscanf(params,"i",skin))return SendClientMessage(playerid, -1, "[Use]: /saveskin [skinid]");
	if(skin > 311 || skin < 0) return SendClientMessage(playerid, -1, "[ERROR]: Wrong Skin ID! [0 - 311]");
	SetPlayerSkin(playerid, skin);
	format(string,sizeof(string),"You Have Successfully Saved %d Skin!",skin);
	SendClientMessage(playerid, -1, string);
	return (true);
}

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.