Quote:
Originally Posted by Konstantinos
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);
|
That did the trick! Thanks!