@DJ, this isn't going to work like you expect it to.
PHP Code:
#define ent create_entity("game_player_equip")
DispatchKeyValue( ent, "item_assaultsuit", "1" ) && DispatchKeyValue( ent, "weapon_knife", "1" ) && DispatchKeyValue( ent, "weapon_elite", "5" ) && DispatchSpawn(ent);
Translates into
PHP Code:
DispatchKeyValue( create_entity("game_player_equip"), "item_assaultsuit", "1" ) && DispatchKeyValue( create_entity("game_player_equip"), "weapon_knife", "1" ) && DispatchKeyValue( create_entity("game_player_equip"), "weapon_elite", "5" ) && DispatchSpawn(create_entity("game_player_equip"));
Every single time you reference "ent" you are creating a new entity so obviously, that can't work. Plus, there is no reason to write one-liners like that and you aren't writing functional code where everything needs to be an expression. Just write a proper block of code:
PHP Code:
public plugin_precache()
{
new ent = create_entity("game_player_equip")
DispatchKeyValue( ent, "item_assaultsuit", "1" )
DispatchKeyValue( ent, "weapon_knife", "1" )
DispatchKeyValue( ent, "weapon_elite", "5" )
DispatchSpawn(ent);
}
__________________