Using cache_get_row_float and other questions
#6

In the public function you assign the data to the player's variables.

pawn Код:
// assigning..
...
pData[playerid][pX] = cache_get_row_float(0, 10);
pData[playerid][pY] = cache_get_row_float(0, 11);
pData[playerid][pZ] = cache_get_row_float(0, 12);

SetSpawnInfo(playerid, ..., pData[playerid][pX], pData[playerid][pY], pData[playerid][pZ], ...);
SpawnPlayer(playerid);
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)