Tutorial system
#2

pInfo[playerid][pAge] = strval(inputtext);

strval simply converts a string into an integer.

inputtext is a string so using strval converts the input of the dialog into an integer.

More info here: https://sampwiki.blast.hk/wiki/Strval
Reply


Messages In This Thread
Tutorial system - by SoulLedger - 09.02.2014, 22:05
Re: Tutorial system - by Kirollos - 10.02.2014, 02:47
Re: Tutorial system - by SoulLedger - 10.02.2014, 13:58

Forum Jump:


Users browsing this thread: 1 Guest(s)