18.09.2012, 18:18
Ahh of course, Cheers.
This gave me too many errors
So I just used this instead
Also when checking if the input was empty, how would I do that?
This gives me an error but must be something similar
Guess I'd just use
This gave me too many errors
pawn Код:
format(Business[playerid][bName],sizeof Business[playerid][bName], "%s", inputtext);
pawn Код:
format(Business[playerid][bName],50,inputtext);
This gives me an error but must be something similar
pawn Код:
if(!strcmp(inputtext, 0, false))
{
SendClientMessage(playerid, COLOR_GREY, "Please insert a name or return to the menu.");
}
pawn Код:
if(isnull(inputtext))
{
SendClientMessage(playerid, COLOR_GREY, "Please insert a name or return to the menu.");
}