[Ajuda] PlayerInfo[playerid][pInt] = 3;
#1

Ajuda

Linha =
pawn Код:
PlayerInfo[playerid][pInt] = 3;
Erros =
pawn Код:
C:\Users\Acer\Desktop\[GM]\gamemodes\BKG.pwn(13) : warning 202: number of arguments does not match definition
C:\Users\Acer\Desktop\[GM]\gamemodes\BKG.pwn(156) : error 017: undefined symbol "PlayerInfo"
C:\Users\Acer\Desktop\[GM]\gamemodes\BKG.pwn(156) : warning 215: expression has no effect
C:\Users\Acer\Desktop\[GM]\gamemodes\BKG.pwn(156) : error 001: expected token: ";", but found "]"
C:\Users\Acer\Desktop\[GM]\gamemodes\BKG.pwn(156) : error 029: invalid expression, assumed zero
C:\Users\Acer\Desktop\[GM]\gamemodes\BKG.pwn(156) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.

CMD TODO


pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(IsPlayerInRangeOfPoint(playerid, 3.0, 1481.0393, -1772.3138, 18.7958))
    {
        SetPlayerPos(playerid, 384.808624,173.804992,1008.382812);
        SetPlayerInterior(playerid,0);
        SetPlayerFacingAngle(playerid, 0);
        PlayerInfo[playerid][pInt] = 3;
        PlayerInfo[playerid][pLocal] = 255;
        SetPlayerVirtualWorld(playerid, 0);
        return 1;
    }
}
Reply
#2

Vocк nгo declarou a matriz PlayerInfo.
Reply
#3

Como o Lуs disse :
pawn Код:
enum pinfs
{
pInt,
pAdm
}
new PlayerInfo[MAX_PLAYERS][pinfs];
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)