06.06.2013, 01:18
ok I have this code here
it is under ondialogresponse
I entered the print code and it seems to work properly
it does not seem to be working so I went to samp wiki to check the syntax and I notice something it said
so how would I check if a string is valid
it is under ondialogresponse
I entered the print code and it seems to work properly
pawn Код:
print(inputtext);//remove
if(strcmp(inputtext,"",true,0)==0)
{
return SendClientMessage(playerid, RED, "You can't name the map nothing");
}
Quote:
Originally Posted by https://sampwiki.blast.hk/wiki/Strcmp
Important Note: This function also returns 0 if either string is empty.
|
so how would I check if a string is valid