Must be indexed
#1

Under OnPlayerEnterDynamicCP:
pawn Код:
//
        new string[128];
        if(IsPlayerInDynamicArea(playerid, BigEarZone))
        {
            format(string, sizeof(string), "%s", GetPlayerGangColor(playerid));
            GangZoneFlashForAll(BigEarZone, string); // ERROR
        }
Error:
pawn Код:
error 035: argument type mismatch (argument 2)
Reply
#2

There second parameter can only be used by Hexadecimal codes (Integers)
pawn Код:
GangZoneFlashForAll(BigEarZone, GetPlayerGangColor(playerid));
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)