[QUOTE=Grey83;2789495]why not in this way?
#pragma semicolon 1
static const char MODEL = "models/_*.mdl"; // path to used player model
bPrecached = IsModelPrecached(MODEL) || PrecacheModel(MODEL, true);
public void Event_Spawn(Event event, const char name, bool dontBroadcast)
int client = GetClientOfUserId(event.GetInt("userid"));
if(client && IsPlayerAlive(client)) SetEntityModel(client, MODEL);
It just hadn't occurred to me to do it that way, I quite liked your solution, it simplifies it too much