Posts: 9
Threads: 3
Joined: Oct 2016
Reputation:
0
C:\Users\Camelia\Downloads\Gaming RPG\gamemodes\BZone.pwn(46462) : error 033: array must be indexed (variable "PlayerInfo")
C:\Users\Camelia\Downloads\Gaming RPG\gamemodes\BZone.pwn(46471) : error 033: array must be indexed (variable "PlayerInfo")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Help me pls, fast
Posts: 68
Threads: 7
Joined: Oct 2014
Send us the lines codes (46462, 46471) to help you
Posts: 9
Threads: 3
Joined: Oct 2016
Reputation:
0
46462-> if(PlayerInfo[playerid] == 34)
46471-> if(PlayerInfo[playerid] == 20)
Help me fast, please.
Posts: 68
Threads: 7
Joined: Oct 2014
See at your last command "hgate" and "hg" and replace it for:
PHP код:
if(strcmp(cmd, "/hgate", false) == 0 || strcmp(cmd, "/hg", false) == 0)
{
if(PlayerInfo[playerid][pMember] == 34 || PlayerInfo[playerid][pLeader] == 34)
{
if(PlayerToPoint(10.0, playerid, -542.4000, 334.0000, 4.1000))
{
MoveObject(casa34, -542.4000, 334.0000, -1.7091, 3);
SetTimer("Casa34" ,5000 ,false);
}
}
return 1;
}
if(strcmp(cmd, "/yourcommand", false) == 0 || strcmp(cmd, "/yourcommand2", false) == 0)
{
if(PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20)
{
if(PlayerToPoint(10.0, playerid, 1499.6000000,-699.4000200,96.5000000))
{
MoveObject(casa20, 1499.6000000,-699.4000200,90.2000000, 3);
SetTimer("Casa20" ,5000 ,false);
}
}
return 1;
}
Change "yourcommand" and "yourcommand2" for your commands for that gate.