#1

anybody help me please make an interior idk the id but i know the objets here Bullworthmap.pwn
building
Quote:

AddPlayerClass(294,1498.2548,-1580.5143,13.5498,352.7056,0,0,0,0,0,0); //

help me plzzz
Reply
#2

Try it with your own coordinates:

PHP код:
public OnPlayerUpdate(playerid)
{
    if(
IsPlayerInRangeOfPoint(playerid1.0,653.5959,-1714.0138,14.7648)) //Haustьr Eingang
    
{
        
SetPlayerInterior(playerid,2);
        
SetPlayerPos(playerid,489.8741,1402.6146,1080.2645);
    }
    if(
IsPlayerInRangeOfPoint(playerid1.0,491.1060,1398.4999,1080.2578)) //Haustьr Ausgang
    
{
        if(
GetPlayerInterior(playerid) == 2)
        {
            
SetPlayerInterior(playerid,0);
            
SetPlayerPos(playerid,650.8800,-1714.1538,14.2881);
        }
    }
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)