21.04.2011, 08:43
Inputtext is a string and you don't use "==". If is a number you can use "strval". Example:
If is a string with word you can use "strcmp". Example:
Visit this post in Wiki SAMP for strcmp -> https://sampwiki.blast.hk/wiki/Strcmp
pawn Код:
if(strval(inputtext) == 2012)
{
// Functions
}
pawn Код:
if(strcmp(inputtext, "Hello", true) == 0)
{
//Functions
}