SHARE
TWEET

Untitled

a guest Dec 10th, 2018 116 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @FindPlayerInTable(playerid);
  2. @FindPlayerInTable(playerid)
  3. {
  4.     #if MYSQL_R41_2 == true
  5.     new rows;
  6.     cache_get_row_count(rows);
  7.     #else
  8.     new rows, fields;
  9.     cache_get_data(rows, fields);
  10.     #endif
  11.     for(new i = 0; i < 20; i++) SCM(playerid,COLOR_WHITE," ");
  12.     if(rows)
  13.     {
  14.         //for(new i; i < 36; i++) TextDrawShowForPlayer(playerid,login_td[i]);
  15.         //for(new i; i < 4; i++) PlayerTextDrawShow(playerid,login_tdd[playerid][i]);
  16.         SpawnPlayer(playerid);
  17.         new name[50];
  18.         format(name,40,"Your name: %s",pInfo[playerid][pName]);
  19.         PlayerTextDrawSetString(playerid,login_tdd[playerid][3],name);
  20.         SelectTextDraw(playerid,-264092161);
  21.         SetPVarInt(playerid, "login", 1);
  22.     }
  23.     else
  24.     {
  25.         for(new i; i < 33; i++) PlayerTextDrawShow(playerid,reg_td[playerid][i]);
  26.         SelectTextDraw(playerid,-264092161);
  27.         SetPVarInt(playerid, "reg", 1);
  28.     }
  29.     SetPlayerVirtualWorld(playerid, playerid + 1);
  30.     TogglePlayerControllable(playerid, 0);
  31.     InterpolateCameraPos(playerid, 152.409637, -1487.444091, 63.946933, 238.272079, -2188.702636, 57.798164, 7000);
  32.     InterpolateCameraLookAt(playerid, 154.709808, -1491.876220, 63.690441, 241.185668, -2184.900146, 56.365409, 7000);
  33.     for(new i = 0; i < sizeof(GZInfo); i++) GangZoneShowForPlayer(playerid, GangZone[i], TeamColors[GZInfo[i][gFrak]]);
  34.     return 1;
  35. }
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