SA-MP Forums Archive
need a lil. help guys <3 - 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: need a lil. help guys <3 (/showthread.php?tid=534361)



need a lil. help guys <3 - PawnOX - 29.08.2014

I want here. "If playerid is inside the Snoop Dog club, the Pleasure Domes ( dunno the interior ID ), then return 1;" like that

thanks again!

pawn Код:
if(strcmp(choice, "interior", true) == 0)
    {
        GetPlayerPos(playerid, DDoorsInfo[doorid][ddInteriorX], DDoorsInfo[doorid][ddInteriorY], DDoorsInfo[doorid][ddInteriorZ]);
        GetPlayerFacingAngle(playerid, DDoorsInfo[doorid][ddInteriorA]);
        DDoorsInfo[doorid][ddInteriorInt] = GetPlayerInterior(playerid);
        DDoorsInfo[doorid][ddInteriorVW] = GetPlayerVirtualWorld(playerid);
        SendClientMessage(playerid, COLOR_WHITE, "You have changed the interior!");
        SaveDynamicDoors();
        format(string, sizeof(string), "%s has edited DoorID %d's Interior.", GetPlayerNameEx(playerid), doorid);
        Log("logs/ddedit.log", string);
        return 1;
    }



Re: need a lil. help guys <3 - Phyzic - 29.08.2014

http://weedarr.wikidot.com/interior
Search and Use function GetPlayerInterior(playerid);


Re: need a lil. help guys <3 - PawnOX - 29.08.2014

Quote:
Originally Posted by Phyzic
Посмотреть сообщение
http://weedarr.wikidot.com/interior
Search and Use function GetPlayerInterior(playerid);
THANKS <3 <3