04.09.2012, 07:57
My command looks like this:
if(!strcmp(cmdtext, "/wh", true))
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 2175.5471,1619.1520,999.9766))
{
if (PlayerOrg[playerid] == 8 )
{
SetPlayerHealth(playerid,100);
GivePlayerWeapon(playerid,4,5);
GivePlayerWeapon(playerid,23,3500);
GivePlayerWeapon(playerid,29,3500);
GivePlayerWeapon(playerid,31,3500);
GivePlayerWeapon(playerid,34,100);
}
}
}
The problem is that I don't have PlayerOrg in the gamemode file, because it is in the filterscript file! So, please help me!
if(!strcmp(cmdtext, "/wh", true))
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 2175.5471,1619.1520,999.9766))
{
if (PlayerOrg[playerid] == 8 )
{
SetPlayerHealth(playerid,100);
GivePlayerWeapon(playerid,4,5);
GivePlayerWeapon(playerid,23,3500);
GivePlayerWeapon(playerid,29,3500);
GivePlayerWeapon(playerid,31,3500);
GivePlayerWeapon(playerid,34,100);
}
}
}
The problem is that I don't have PlayerOrg in the gamemode file, because it is in the filterscript file! So, please help me!