20.07.2013, 01:14
I don't know why i get this, so i need your help. After a long break from scripting, i just dont get it :P
This is my enums:
This is the only "new" line of anything with "PlayerInfo" in.
My Command:
The error is on this line:
Also, i have always used the zcmd include when making commands, so i am not sure if this is the correct way to use "PlayerInfo" in a command like this. Theres probably a easy way to fix this :P Well thanks for your time!
This is my enums:
pawn Код:
enum PlayerInfo
{
pHello
}
new pInfo[MAX_PLAYERS][PlayerInfo];
My Command:
The error is on this line:
pawn Код:
PlayerInfo[playerid][pHello] = 1;
pawn Код:
if (strcmp("/Hello", cmdtext, true, 10) == 0)
{
PlayerInfo[playerid][pHello] = 1;
}
return 1;