Is it possible removing enter/exit pickups
#7

I'm still exiting on Las Venturas... here's what i've done so far

PHP код:
new
    
Float:IntX[MAX_PLAYERS],
    
Float:IntY[MAX_PLAYERS],
    
Float:IntZ[MAX_PLAYERS];
/////
public OnPlayerInteriorChange(playerid,newinteriorid,oldinteriorid)
{
    if(
oldinteriorid == && newinteriorid == 3)
    {
        
GetPlayerPos(playerid,IntX[playerid],IntY[playerid],IntZ[playerid]);
    }
    if(
oldinteriorid == && newinteriorid == 0)
    {
        
SetPlayerPos(playerid,IntX[playerid],IntY[playerid],IntZ[playerid]);
    }
    return 
1;

Any suggestions?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)