Selecting skins with dialogs
#1

I did one an input dialog for selecting skins. But I can make it with integers, because "inputtext" isn't a integer. How can I fill the blank at code for select skin?

Code:
	if(dialogid == 0)
	{
		// BLANK HERE :)
	}
Reply
#2

use strval
Reply
#3

Quote:
Originally Posted by Romel
View Post
use strval
How to use it?
Reply
#4

Add this onto your dialog response.

Code:
if(dialogid == 0)
{
	new skin = strval(inputtext);
	SetPlayerSkin(playerid, skin);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)