16.06.2018, 20:26
PHP код:
new Float:x, Float:y, Float:z, Float:ang;
new skin;
GetPlayerPos(playerid, x, y, z);
skin = GetPlayerCustomSkin(playerid);
GetPlayerFacingAngle(playerid, ang);
PlayerInfo[playerid][pPosx] = x;
PlayerInfo[playerid][pPosy] = y;
PlayerInfo[playerid][pPosz] = z;
PlayerInfo[playerid][pPosArg] = ang;
PlayerInfo[playerid][pAlive] = 1;
PlayerInfo[playerid][pSkinid] = skin;