Setting a name for an ID? +rep
#9

Quote:

'error 017: undefined symbol "inputtext"'

Im not using a dialog to set the weapons;


Quote:

CMDetfactionweapons(playerid, params[])
{
new iFac = arrFaction[playerid][g_iFactionID], weapons;
if(arrFaction[playerid][p_iMember] == 12 || arrFaction[playerid][p_iMember] == 11)
{
if(sscanf(params, "d", weapons))
return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /setfactionweapons [weaponid]");

arrFaction[iFac][g_iLockerGuns] = weapons;
CreateDynamicFaction(weapons);
SendClientMessage(playerid, COLOR_WHITE, "You have changed the weapon ID's for your faction.");
}
else SendClientMessage(playerid, COLOR_WHITE, "You are not authorized to use that command!");
return 1;
}

Quote:

CMD:testlocker(playerid, params[])
{
new string[256], iFac = arrFaction[playerid][g_iFactionID];
if(arrFaction[playerid][p_iMember] > 0)
{
if(arrFaction[iFac][g_iLockerGuns] == 0)
{
SendClientMessage(playerid, COLOR_WHITE, "Your faction lockers have no weapons in them!");
}
if(arrFaction[iFac][g_iLockerGuns] > 0)
{
/*format(string, sizeof(string), "%s - $320", WeaponNames[4]);
ShowPlayerDialog(playerid, DIALOG_FACWEPS, DIALOG_STYLE_LIST, "Faction Locker", string, "Select", "Cancel");*/
new str[5];GetWeaponName(inputtext, str, sizeof(str));
format(string, sizeof(string), "%s - Get weapon", str);
ShowPlayerDialog(playerid, DIALOG_FACWEPS, DIALOG_STYLE_LIST, "Faction Locker", string, "Select", "Cancel");
}
}
else SendClientMessage(playerid, COLOR_WHITE, "You are not in a faction!");
return 1;
}

so any help on dis
Reply


Messages In This Thread
Setting a name for an ID? +rep - by RLGaming - 08.10.2012, 22:29
Re: Setting a name for an ID? +rep - by park4bmx - 08.10.2012, 22:44
Re: Setting a name for an ID? +rep - by ReneG - 08.10.2012, 22:44
Re: Setting a name for an ID? +rep - by RLGaming - 08.10.2012, 23:30
Re: Setting a name for an ID? +rep - by vIBIENNYx - 09.10.2012, 03:41
Re: Setting a name for an ID? +rep - by zSuYaNw - 09.10.2012, 06:33
Re: Setting a name for an ID? +rep - by RLGaming - 09.10.2012, 06:57
Re: Setting a name for an ID? +rep - by park4bmx - 09.10.2012, 09:05
Re: Setting a name for an ID? +rep - by RLGaming - 09.10.2012, 15:04
Re: Setting a name for an ID? +rep - by park4bmx - 09.10.2012, 19:35

Forum Jump:


Users browsing this thread: 1 Guest(s)