03.12.2013, 19:48
help T.T
error
error 033: array must be indexed (variable "pName") THIS 1
error 017: undefined symbol "NoOwner" THIS 2
HELP ME PLEASE y.y
pawn Код:
InVehicle[playerid] = GetPlayerVehicleID(playerid);
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
if(newstate == PLAYER_STATE_DRIVER)
{
if(vInfo[InVehicle[playerid]][vOwner] == pName) // THIS 1
{
SendClientMessage(playerid, COLOR_ADMIN, "PROBANDO CON DUEСO");
}
if(vInfo[InVehicle[playerid]][vOwner] == NoOwner) // THIS 2
{
SendClientMessage(playerid, COLOR_ADMIN, "PROBANDO SIN DUEСO");
}
}
error 033: array must be indexed (variable "pName") THIS 1
error 017: undefined symbol "NoOwner" THIS 2
HELP ME PLEASE y.y