Code:
function server_event(STR,NUM)
{
client_name = STR;
client_id = NUM;
temp = NUM;
str_for_num(client_id_str,client_id);
wait(-1);
send_var_id(temp,client_id);
player = ent_create(testing_mdl,0,testing_function);
wait(-1);
player.skill1 = client_id;
}
everytime I go to use this script my game crashes and no reason is given... obviously there is a problem. I know it's send_var_id because when I comment it out the game doesnt crash.