SHARE
TWEET

Untitled

a guest Sep 23rd, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public jbe_set_user_model(pPlayer, const szModel[])
  2. {
  3.     copy(g_szUserModel[pPlayer], charsmax(g_szUserModel[]), szModel);
  4.     static Float:fGameTime, Float:fChangeTime; fGameTime = get_gametime();
  5.     if(fGameTime - fChangeTime > 0.1)
  6.     {
  7.         jbe_set_user_model_fix(pPlayer+TASK_CHANGE_MODEL);
  8.         fChangeTime = fGameTime;
  9.     }
  10.     else
  11.     {
  12.         set_task((fChangeTime + 0.1) - fGameTime, "jbe_set_user_model_fix", pPlayer+TASK_CHANGE_MODEL);
  13.         fChangeTime = fChangeTime + 0.1;
  14.     }
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top