Array must be indexed
#1

This is the line:
pawn Код:
if(GetPlayerNameEx(playerid) == BizInfo[IsInBusiness[playerid]][bOwner])
Saying "GetPlayerNameEx" must be indexed.
Reply
#2

You should use strmcp to compare 2 strings.
https://sampwiki.blast.hk/wiki/Strcmp
Reply
#3

Код:
if (!strcmp(GetPlayerNameEx(playerid), BizInfo[IsInBusiness[playerid]][bOwner], true))
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)