02.11.2010, 17:15
(
Последний раз редактировалось Ash.; 02.11.2010 в 17:32.
)
Hi all - A long time since ive needed help but here it goes...
im having a problem with the following code:
It says pName needs indexing. But im using it as a string variable?
RESOLVED
Can anyone else see the problem?
im having a problem with the following code:
pawn Код:
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
if(pName == "Ash") //On this line is the error.
{
printf("GetPlayerMoney: %i", GetPlayerMoney(playerid));
printf("AntiCheatMoney[myid]: %i", AntiCheatMoney[playerid]); //I have AntiCheatMoney earlier in the script.
}
RESOLVED
Can anyone else see the problem?