19.03.2012, 00:28
To com um erro que nгo consigo resolver, preciso de ajuda de alguйm por favor
Esse й o erro
Linha do erro
Comando
Ajuda Por Favor
Esse й o erro
Код:
: error 035: argument type mismatch (argument 2)
Код:
TextDrawShowForPlayer(playerid,gText3);
Код:
public isPlayerInArea()
{
new Float:X, Float:Y, Float:Z;
for(new playerid=0; playerid < MAX_PLAYERS; playerid++) {
TextDrawShowForPlayer(playerid,gText3);
GetPlayerPos(playerid, X, Y, Z);
if (X <= 2539 && X >= 2442 && Y <= -1628 && Y >= -1720) {
}
}
}
Код:
SetTimer("isPlayerInArea", 1000, 1);
gText3[playerid] = TextDrawCreate(500.00, 100.00, "BASE GROVE STREET");
TextDrawFont(gText3[playerid],1);
TextDrawBackgroundColor(gText3[playerid], 0x000000ff);
TextDrawSetOutline(gText3[playerid], 1);
TextDrawColor(gText3[playerid], -1);
TextDrawLetterSize(gText3[playerid],0.499999,1.200000);
TextDrawAlignment(gText3[playerid], 1);
TextDrawShowForPlayer (playerid, gText3[playerid]);
return 1;
}


?