how to change..
#1

i want to change the interiors of hq factions


sorry for my bad english
Reply
#2

Then do it.

How do you expect us to help you if you don't show us your code?
Reply
#3

Quote:

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;

here i need to change the coordonate?
Reply
#4

You change your current interior to the one you want changing these:

pawn Код:
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
Reply
#5

thx man
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)