No, Ive checked they're all there.
I tried the if(race==thisraceid) again in this.
Code:
public Action:Event_Spawn(Handle:event, const String:name[], bool:dontBroadcast)
{
new i = GetClientOfUserId(GetEventInt(event, "userid"));
RemoveWeapons(i);
}
public Action:Event_Start(Handle:event, const String:name[], bool:dontBroadcast)
{
new i = GetClientOfUserId(GetEventInt(event, "userid"));
RemoveWeapons(i);
}
RemoveWeapons(client, race)
{
Client_RemoveAllWeapons(client, "weapon_knife", true); // Removes all the weapons ; Add a weapon name into the "" to exclude that weapon.
{
if(race==thisRaceID)
{
Client_GiveWeaponAndAmmo(client, "weapon_ssg08", true, 90);
Client_GiveWeaponAndAmmo(client, "weapon_fiveseven", true, 90);
}
}
}
But I get error
// War3Source_000_Paladin.SP(190) : error 092: number of arguments does not match definition
// War3Source_000_Paladin.SP(197) : error 092: number of arguments does not match definition
(lines highlighted red)
__________________