*** Terrible Title Removed
#1

hey guys i am looking for how to make a gang house ..............can anyone tell me ........Here is the player position to make entry = 116,2172.3677,-1819.2433,16.1406,179.5074,0,0,0,0,0,0 ............................and the interior id is 18026.

Please tell and i wil rep you
Reply
#2

SetPlayerPos(playerid,2172.3677,-1819.2433,16.1406);
SetPlayerInterior(playerid, 18026);
SetPlayerFacingAngle( playerid, 179.5074);


add this to ur entering command
Reply
#3

i am using this = tel me is this correct or not
Quote:

warpme(playerid, params[])
{
SetPlayerPos(playerid,2172.3677,-1819.2433,16.1406);
SetPlayerInterior(playerid, 18026);
SetPlayerFacingAngle( playerid, 179.5074);
}

Reply
#4

try this

Quote:

CMD:enter(playerid,params[])
{
SetPlayerInterior(playerid, 18026);
SetPlayerPos(playerid,2172.3677,-1819.2433,16.1406);
return 1;
}

And yes, you also need to define, if(IsplayerInRangeOfPoint

https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint


here is 1 example of Sweet house,

Код:
CMD:enter(playerid,params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 7.0, 2522.8372,-1679.4862,15.4970))
    {
        SetPlayerInterior(playerid, 3);
        SetPlayerPos(playerid, 235.508994,1189.169897,1080.339966);
    }
    return 1;
}
Reply
#5

It is telling this

Quote:

E:\Server of 0.3e\filterscripts\ganghouse2.pwn(234) : warning 203: symbol is never used: "enter"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.

Reply
#6

Still not working ...............Can you give me a script like the sweet's house......
Quote:

CMD:enter(playerid,params[])
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 2522.8372,-1679.4862,15.4970))
{
SetPlayerInterior(playerid, 3);
SetPlayerPos(playerid, 235.508994,1189.169897,1080.339966);
}
return 1;
}

Reply
#7

On the top of your script, type
Quote:

#include <zcmd>

if you dont have zcmd, download it and put it in the following - pawno/include
Reply
#8

it will not show the icon in map, just go to sweet's house gate and type /enter, i think it will work(it work for me)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)