How to Make Hq ? [+REP] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to Make Hq ? [+REP] (
/showthread.php?tid=539045)
How to Make Hq ? [+REP] -
Kaylen - 26.09.2014
How to Make HQ In the Pawn
Like
Or what i need to make the Hq Work ?
// Hitman HQ
?
Respuesta: How to Make Hq ? [+REP] -
ghost556 - 26.09.2014
Are you talking about making a custom interior, or a /enter command?
Re: How to Make Hq ? [+REP] -
Crayder - 26.09.2014
HQ = Head-quarters right? If not I have no clue what your talking about, If so, explain what it is you want so we can help... (Not meant to sound rude... Trying to sound helpful :P)
Re: How to Make Hq ? [+REP] -
Kaylen - 26.09.2014
I mean like This
Like Hitman HQ But it won't Wrok...
What it miss ? Inculde

For RP/GM
pawn Код:
// Hitman HQ
if(IsPlayerInRangeOfPoint(playerid, 2.0, 1938.545898, 165.629531, 37.281250))
{
if(PlayerInfo[playerid][pFaction] == 4 || PlayerInfo[playerid][pLeader] == 4)
{
SetPlayerVirtualWorld(playerid, 666420);
PlayerInfo[playerid][pVW] = 666420;
SetPlayerInterior(playerid, 42);
PlayerInfo[playerid][pInt] = 42;
SetPlayerPos(playerid, 1277.019165, -758.428771, 5080.750000);
SetPlayerFacingAngle(playerid, 358.16);
SetCameraBehindPlayer(playerid);
TogglePlayerControllable(playerid, 0);
for(new o = 0; o < 6; o++)
{
TextDrawShowForPlayer(playerid, ObjectsLoadingTD[o]);
}
SetPVarInt(playerid, "LoadingObjects", 1);
SetTimerEx("SafeLoadObjects", 3000, 0, "d", playerid);
SendClientMessage(playerid, COLOR_WHITE, "You can /order weaponry in the armory room.");
}
}
pawn Код:
// Hitman HQ
if(IsPlayerInRangeOfPoint(playerid, 2.0, 1277.019165, -758.428771, 5080.750000) && (GetPlayerVirtualWorld(playerid) == 666420))
{
if(PlayerInfo[playerid][pFaction] == 4 || PlayerInfo[playerid][pLeader] == 4)
{
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo[playerid][pVW] = 0;
SetPlayerInterior(playerid, 0);
PlayerInfo[playerid][pInt] = 0;
SetPlayerPos(playerid, 1938.545898, 165.629531, 37.281250);
SetPlayerFacingAngle(playerid, 338.54);
SetCameraBehindPlayer(playerid);
}
}
Re: How to Make Hq ? [+REP] -
LeroyII - 26.09.2014
You mean checkpoint? And how exactly it doesn't work? Nothing happens or what?