17.04.2014, 17:22
i want to change the interiors of hq factions
sorry for my bad english
sorry for my bad english
if (PlayerData[playerid][pMember] == 16 || PlayerData[playerid][pLeader] == 16) //Corleone Spawn { SendClientMessage(playerid, COLOR_WHITE, "Scrie {ffff00}/takeguns {ffffff}ca sa cumperi un set de arme cu {228B22}${FFFFFF}1500 sau /exit sa iesi din HQ."); SetPlayerToTeamColor(playerid); SetPlayerPos(playerid, 2120.9224,-2272.6870,20.6719 ); SetPlayerInterior(playerid,0); PlayerData[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid, 0); GivePlayerWeapon(playerid, 24, 50); GivePlayerWeapon(playerid, 1, 1); return 1; |
SetPlayerPos(playerid, 2120.9224,-2272.6870,20.6719 ); // Coordinates
SetPlayerInterior(playerid,0); // Self explanatory, interior
PlayerData[playerid][pInt] = 0; // Not sure what this does but I think it should be the same as the interior value
SetPlayerVirtualWorld(playerid, 0); // Generally 0