13.07.2010, 17:41
pawn Код:
if(HQInfo[i][Owner] == pname)
Код:
error 033: array must be indexed (variable "pname")
if(HQInfo[i][Owner] == pname)
error 033: array must be indexed (variable "pname")
if(!strcmp(HQInfo[i][Owner], pname, true))
{
// the same name
}
else
{
// not the same name
}
if(strcmp(HQInfo[i][Owner],pname))
{
// Right Message if owner
}
else
{
// Wrong message if not owner
}
if(strcmp(HQInfo[i][Owner],pname))
{
// wrong message if not owner
}
else
{
// right message if owner
}