01.12.2011, 15:35
Hi im doing my Server which is set in BaySide, and i trying to change the Spawn Pos... But i don't know how.. this is what i think it is.
At PlayerVariables[playerid][pPos] is where i changed the OnFoot Position, is anything wrong with this?
Or if it is incorrect completely please tell me what to do..]
thanks
Код:
stock firstPlayerSpawn(playerid) { playerVariables[playerid][pTutorial] = 0; playerVariables[playerid][pFirstLogin] = 0; playerVariables[playerid][pPos][0] = -2467.5938; playerVariables[playerid][pPos][1] = 2229.4067; playerVariables[playerid][pPos][2] = 4.8438; playerVariables[playerid][pInterior] = 0; playerVariables[playerid][pVirtualWorld] = 0; SetSpawnInfo(playerid, 0, playerVariables[playerid][pSkin], playerVariables[playerid][pPos][0], playerVariables[playerid][pPos][1], playerVariables[playerid][pPos][2], 0, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); TextDrawHideForPlayer(playerid, textdrawVariables[3]);
Or if it is incorrect completely please tell me what to do..]
thanks