Problem getting string variable
#7

Quote:
Originally Posted by SyS
Посмотреть сообщение
strcmp returns 0 if the strings match so you should do

pawn Код:
if(!strcmp(pInfo[playerid][Clan],"TAW",true))
I proof with other account has not set Clan on database
Код HTML:
[01:08:52] [DEBUG] cache_get_value_name(0, "Clan", 0x03BCDBC8, 25)
[01:08:52] [DEBUG] cache_get_value_name: assigned value: ''
[01:08:52] [DEBUG] cache_get_value_name: return value: '1'
And that's is result:
Код HTML:
[nick] DabvAsturDemo nick changed to []DabvAsturDemo
When with that I should enter in else of condition.
Reply


Messages In This Thread
Problem getting string variable - by dabv_astur - 11.11.2018, 01:33
Re: Problem getting string variable - by Jefff - 11.11.2018, 01:41
Re: Problem getting string variable - by dabv_astur - 11.11.2018, 02:18
Re: Problem getting string variable - by Jefff - 11.11.2018, 02:56
Re: Problem getting string variable - by dabv_astur - 11.11.2018, 03:02
Re: Problem getting string variable - by SyS - 11.11.2018, 03:05
Re: Problem getting string variable - by dabv_astur - 11.11.2018, 03:14
Re: Problem getting string variable - by dabv_astur - 14.11.2018, 00:54

Forum Jump:


Users browsing this thread: 1 Guest(s)