Choosing skin over 300+ skin closes my gta.
#1

Anyone know how to disable inputting 300+ skin. Coz when I tried entering 300+ it closes my gta.

Also if a player enter 300+ skin a sendclientmessage will display "Error you can't go under 299" Or something like that.

Код:
		if(strval(inputtext) < 0 || strval(inputtext) > 299) SendClientMessage(playerid, WHITE, "SERVER: Cannot go under 0 or above 299.");
		new skin = strval(inputtext);
		PlayerInfo[playerid][pModel] = skin;
		SetPlayerSkin(playerid, skin);
		GameTextForPlayer(playerid,"~g~Skin ~g~Changed",2000,3);
		return 1;
Reply


Messages In This Thread
Choosing skin over 300+ skin closes my gta. - by kbalor - 24.07.2012, 16:54
Re: Choosing skin over 300+ skin closes my gta. - by milanosie - 24.07.2012, 17:43
Re: Choosing skin over 300+ skin closes my gta. - by kbalor - 24.07.2012, 18:31

Forum Jump:


Users browsing this thread: 1 Guest(s)