19.07.2014, 21:13
O que q eu to fazendo de errado aqui?
Podem me ajudar me explicando.
vlw.
Podem me ajudar me explicando.
vlw.
pawn Код:
public OnPlayerConnect(playerid)
{
if(VIP[playerid] == 1)
{
new Text3D:label = CreatePlayer3DTextLabel("%s", AMARELO, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, PlayerVip(playerid), 0.0, 0.0, 0.7);
return true;
}
if(DadosPlayer[playerid][pAdmin] > 0)
{
new Text3D:label = CreatePlayer3DTextLabel("%s", AMARELO, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, CargoAdmin(playerid), 0.0, 0.0, 0.7);
return true;
}
return 1;
}
PlayerVip(playerid)
{
new var[6];
switch(VIP[playerid])
{
case 0: var = "";
case 1: var = "[VIP]";
}
return var;
}
CargoAdmin(playerid)
{
new var[16];
switch(DadosPlayer[playerid][pAdmin])
{
case 0: var = "[Jogador]";
case 1: var = "[Moderador]";
case 2: var = "[Administrador]";
case 3: var = "[Dono]";
}
return var;
}
Код:
C:\Users\Fernando\Desktop\PROJETO MVR\gamemodes\MVR.pwn(472) : error 035: argument type mismatch (argument 1) C:\Users\Fernando\Desktop\PROJETO MVR\gamemodes\MVR.pwn(472) : warning 213: tag mismatch C:\Users\Fernando\Desktop\PROJETO MVR\gamemodes\MVR.pwn(473) : error 035: argument type mismatch (argument 2) C:\Users\Fernando\Desktop\PROJETO MVR\gamemodes\MVR.pwn(480) : error 035: argument type mismatch (argument 1) C:\Users\Fernando\Desktop\PROJETO MVR\gamemodes\MVR.pwn(480) : warning 213: tag mismatch C:\Users\Fernando\Desktop\PROJETO MVR\gamemodes\MVR.pwn(481) : error 035: argument type mismatch (argument 2) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.