[Ajuda] error 035: argument type mismatch (argument 2)
#1

Linha:

OrgSALL(0xAFAFAFAA, stringorg);

Public OrgSALL:

PHP код:
forward OrgSALL(playeridcolor,const string[]);
public 
OrgSALL(playeridcolor,const string[])
{
    for(new 
0MAX_PLAYERSi++)
    {
    if(
Ainf[playerid][PlayerOrg] >= AZ)
    
SCM(i0xFFFFFFFFstring);
    }
    return 
1;

O que pode ser?
Reply
#2

pawn Код:
stock OrgSALL(playerid, color, const string[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
        if(Ainf[i][PlayerOrg] >= AZ)
            SendClientMessage(i, 0xFFFFFFFF, string);
    return 1;
}
pode ser funcao nao precisa ser callback.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)