error 033: array must be indexed (variable "PlayerInfo")
#4

See at your last command "hgate" and "hg" and replace it for:

PHP код:
if(strcmp(cmd"/hgate"false) == || strcmp(cmd"/hg"false) == 0)
{
if(
PlayerInfo[playerid][pMember] == 34 || PlayerInfo[playerid][pLeader] == 34)
{
if(
PlayerToPoint(10.0playerid, -542.4000334.00004.1000))
{
MoveObject(casa34, -542.4000334.0000, -1.70913);
SetTimer("Casa34" ,5000 ,false);
}
}
return 
1;
}
if(
strcmp(cmd"/yourcommand"false) == || strcmp(cmd"/yourcommand2"false) == 0)
{
if(
PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20)
{
if(
PlayerToPoint(10.0playerid1499.6000000,-699.4000200,96.5000000))
{
MoveObject(casa201499.6000000,-699.4000200,90.20000003);
SetTimer("Casa20" ,5000 ,false);
}
}
return 
1;

Change "yourcommand" and "yourcommand2" for your commands for that gate.
Reply


Messages In This Thread
error 033: array must be indexed (variable "PlayerInfo") - by Arcada23 - 09.11.2016, 16:04
Respuesta: error 033: array must be indexed (variable "PlayerInfo") - by Ner0x96 - 09.11.2016, 16:05
Re: error 033: array must be indexed (variable "PlayerInfo") - by Arcada23 - 09.11.2016, 16:08
Respuesta: error 033: array must be indexed (variable "PlayerInfo") - by Ner0x96 - 09.11.2016, 16:16
Re: error 033: array must be indexed (variable "PlayerInfo") - by Arcada23 - 09.11.2016, 16:49

Forum Jump:


Users browsing this thread: 1 Guest(s)