Using cache_get_row_float and other questions
#2

Код:
<parallx> what's the difference between cache_get_row_float and cache_get_field_content_float?
Cache_get_row_float means it load player float with row id and in cache_get_field_content_float it load player float with row name

example

Код:
pData[playerid][pX] = cache_get_row_float(0, 10); // row number is 10 its an example
Cache_get_field_content_float and it doesnt matter if px row is 10 or 12
Код:
 pData[playerid][pX] = cache_get_field_content_float(0,"px");
Код:
public OnPlayerSpawn(playerid)
{

    SetPlayerPos(playerid, pData[playerid][pX], pData[playerid][pY], pData[playerid][pZ]);
    return 1;
}
Reply


Messages In This Thread
Using cache_get_row_float and other questions - by Parallax - 15.04.2015, 09:05
Re: Using cache_get_row_float and other questions - by JeaSon - 15.04.2015, 09:27
Re: Using cache_get_row_float and other questions - by Awdratai - 15.04.2015, 10:13
Re: Using cache_get_row_float and other questions - by Konstantinos - 15.04.2015, 10:14
Re: Using cache_get_row_float and other questions - by Parallax - 15.04.2015, 11:10
Re: Using cache_get_row_float and other questions - by Konstantinos - 15.04.2015, 11:18
Re: Using cache_get_row_float and other questions - by Parallax - 15.04.2015, 12:01

Forum Jump:


Users browsing this thread: 1 Guest(s)