// enum PlayerInfo { Tem_Velocimetro, VelocimetroO_F, }; |
70 forward LoadUser_data(playerid,name[],value[]); 71 public LoadUser_data(playerid,name[],value[]) 72 { 73 INI_Int("Password",PlayerInfo[playerid][pPass]); 74 INI_Int("Cash",PlayerInfo[playerid][pCash]); 75 INI_Int("Admin",PlayerInfo[playerid][pAdminLevel]); 76 INI_Int("Kills",PlayerInfo[playerid][pKills]); 77 INI_Int("Deaths",PlayerInfo[playerid][pDeaths]); 78 INI_Int("Skin", PlayerInfo[playerid][pSkin]); 79 return 1; 80 } |
D:\Users\Matheus\Desktop\BaseScript\gamemodes\base .pwn(73) : error 028: invalid subscript (not an array or too many subscripts): "PlayerInfo" D:\Users\Matheus\Desktop\BaseScript\gamemodes\base .pwn(73) : warning 215: expression has no effect D:\Users\Matheus\Desktop\BaseScript\gamemodes\base .pwn(73) : error 001: expected token: ";", but found "]" D:\Users\Matheus\Desktop\BaseScript\gamemodes\base .pwn(73) : error 029: invalid expression, assumed zero D:\Users\Matheus\Desktop\BaseScript\gamemodes\base .pwn(73) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
enum PlayerInfo
{
Tem_Velocimetro,
VelocimetroO_F
};
PHP код:
|
enum PlayerInfo
{
//player
pPass,
pCash,
pAdminLevel,
pKills,
pDeaths,
pSkins,
//velo
Tem_Velocimetro,
VelocimetroO_F
};
Discordo de vocк Luan, ninguйm nasce sabendo man, й errando que se aprende.
|