pawn Код:
mysql_retrieve_row();
mysql_get_field("SkinID", result);
PlayerVariable[playerid][pSkinID] = strval(result);
mysql_get_field("PlayerPosX", result);
PlayerVariable[playerid][pPos][0] = floatstr(result);
mysql_get_field("PlayerPosY", result);
PlayerVariable[playerid][pPos][1] = floatstr(result);
mysql_get_field("PlayerPosZ", result);
PlayerVariable[playerid][pPos][2] = floatstr(result);
SetSpawnInfo(playerid, 0, PlayerVariable[playerid][pSkinID], PlayerVariable[playerid][pPos][0], PlayerVariable[playerid][pPos][1], PlayerVariable[playerid][pPos][2], 0, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);