Little help +REP
#1

~Removed
Reply
#2

What did you mean?, Do not understand your English
Reply
#3

You're trying to make a "TextDraw Sequence" okay... Just Create the TextDraws and show the first TextDraw to the player, then OnPlayerKeyStateChange, if he presses key Y (KEY_YES) then destroy the first one and show the second one and so on...
Reply
#4

you can try something like this, i didnt tested it, but work with it to have correct order when pressing key yes and key no

Код:
	new page[MAX_PLAYERS]
	if(newkeys == KEY_YES )
	{
	    page[playerid]++;
	    if(page[playerid]== 1)
	        	format(fString,sizeof(fString),"~w~your text here");
		else if(page[playerid]== 2)
		    format(fString,sizeof(fString),"~w~your text here 2");
		else if(page[playerid]== 3)
		    format(fString,sizeof(fString),"~w~your text here 2");
		else if(page[playerid]== 4)
		    format(fString,sizeof(fString),"~w~your text here 2"),

        
	}
	if(newkeys == KEY_NO )
	{
	    page--;
	    if(page[playerid]== 4)
	        	format(fString,sizeof(fString),"~w~your text here");
		else if(page[playerid]== 3)
		    format(fString,sizeof(fString),"~w~your text here 2");
		else if(page[playerid]== 2)
		    format(fString,sizeof(fString),"~w~your text here 3");
		else if(page[playerid]== 1)
		    format(fString,sizeof(fString),"~w~your text here 4"), page = 0;

	}
    TextDrawSetString(maintext, fString);
i hope it helped you
Reply
#5

....
Reply
#6

....
Reply
#7

Can you like be more clear please, I might help you out if I am being able to understand what you're trying to comprehend.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)