SA-MP Forums Archive
MySQL (BlueG) Help! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: MySQL (BlueG) Help! (/showthread.php?tid=463000)



MySQL (BlueG) Help! - Day_Jons - 09.09.2013

I can't distinguish how to load a string c base

PHP код:
House[home][hPosx] = cache_get_field_content_float(0,"posx");
House[home][hPosy] = cache_get_field_content_float(0,"posy");
House[home][hPosz] = cache_get_field_content_float(0,"posz");
House[home][hCarx] = cache_get_field_content_float(0,"carx");
House[home][hCary] = cache_get_field_content_float(0,"cary");
House[home][hCarz] = cache_get_field_content_float(0,"carz");
House[home][hCara] = cache_get_field_content_float(0,"cara");
House[home][hID] = cache_get_field_content_int(0,"id");
House[home][hOwned] = cache_get_field_content_int(0,"owned");
House[home][hInt] = cache_get_field_content_int(0,"int");
House[home][hCena] = cache_get_field_content_int(0,"cena");
House[home][hOpen] = cache_get_field_content_int(0,"open");
House[home][hKlas] = cache_get_field_content_int(0,"klas");
House[home][hUslugi] = cache_get_field_content_int(0,"uslugi");
cache_get_field_name(0"owner"House[home][hOwner]); 
Get all the info except the "owner"

Help


Re: MySQL (BlueG) Help! - Day_Jons - 09.09.2013

Figured out.

PHP код:
cache_get_field_content(0"owner"House[home][hOwner], 1MAX_PLAYER_NAME);