daily pastebin goal
42%
SHARE
TWEET

help

a guest Mar 18th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. case DIALOG_GPS:
  2.         {
  3.             if(response)
  4.             {
  5.                 switch(listitem)
  6.                 {
  7.                     case 0:
  8.                     {
  9.                         //error di sini lokasi gps ga ke baca mulu padahal udah ke save sama load
  10.                         new Cache:result = mysql_query(fungsiloginmysql, Query, true);
  11.                         if(!cache_num_rows())
  12.                         {
  13.                             cache_delete(result);
  14.                             SendClientMessage(playerid, 0xFF0000FF,"Error: Belum ada lokasi gps ditambahkan.");
  15.                             return 1;
  16.                         }
  17.                         for(new i,j = cache_num_rows(); i< j; i++)
  18.                         {
  19.                             //cache_get_field_content(0, "LocationName", gInfo[playerid][LocName], fungsiloginmysql, 32);
  20.                             format(string, sizeof(string), "%s%d\t%s\n", string, i, gInfo[playerid][LocName]);
  21.                         }
  22.                         format(string2, sizeof(string2), "Tidak ada lokasi\tLocation Name\n%s", string);
  23.                         SendClientMessage(playerid, 0xFFFF00FF, "Silakan pilih lokasi.");
  24.                         ShowPlayerDialog(playerid, DIALOG_GPS_LOC, DIALOG_STYLE_TABLIST_HEADERS, "Silakan pilih satu opsi.", string2, "Pilih", "Batal");
  25.                         cache_delete(result);
  26.                     }
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