(2019-04-20, 06:38 PM)hastlaking Wrote: Qka mundet mu ba me ket funkcion
Cache_affected_rows() ;
Ke iden solstice?
Nese rows e ni funksioni jan "prekur"
https://wiki.sa-mp.com/wiki/MySQL/R40#ca...ected_rows
Pershembull:
Code:
forward Player_LoadData(playerid);
public Player_LoadData(playerid) {
? ?if(cache_affected_rows()) {
? ? ? ?cache_get_value_name_int(0, "Cash", E_PLAYER_INFO[playerid][E_PLAYER_CASH]);
? ?}
? ?else {
? ?//Nese rows nuk jane prekur nga funksioni i meparshem
? ? ? ?SendClientMessage(playerid, -1, "...");
? ?}
? ?return 1;
}
Pak a shume e ngjashme me "cache_num_rows"