this can work?
#1

i have a mysql system and i want to add a mail ceck.. i make a new row with default name is NoneMail
and all ok i get the var..

now how to ceck if is writed NoneMail send a dialog? i make this but no work
pawn Код:
GetPVarString(playerid, "Email",email, 100);
 if(!strcmp(email,"NoneMail", true))

help me someone PELASE
Reply
#2

pawn Код:
GetPVarString(playerid, "Email",email, 100);
if(!strcmp(email,"NoneMail", true))
{
    // show dialog here.
}
Reply
#3

wtf ?! i know this lol but dont work -.-
Reply
#4

"not work" means what?
Reply
#5

dont get the NoneMail .. dont send any dialog
Reply
#6

pawn Код:
GetPVarString(playerid, "Email",email, 100);
if(strfind(Email, "NoneMail"))
{
    // Show your dialog here
}
Also make sure the PVar has a variable, just print it out to make sure
Reply
#7

dont work .. the print is... mail is NoneMail|1 wtf is |1
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)