[Help]Checkpoints Not Load
#1

Hello All
Today i Making The Checkpoints + interior
but the checkpoints not load the interior and pos only 1 its load this
PHP код:
 ClownsPocket CreateDynamicCP(2227.2625,1838.7096,10.8203,1.0);
public 
OnPlayerEnterDynamicCP(playeridcheckpointid)
{
   if(
checkpointid == ClownsPocket)
     {
     if(!
IsPlayerInAnyVehicle(playerid))
       {
        
SetPlayerInterior(playerid12);
        
SetPlayerPos(playerid,1133.1853,-11.3326,1000.6797);
        
SetPlayerVirtualWorld(playerid,8);
      }
   }
   return 
1;
}
   return 
1;
}
public 
OnPlayerLeaveDynamicCP(playeridcheckpointid)
{
   if(
checkpointid == ExClownsPocket)
   {
    
SetPlayerInterior(playerid0);
    
SetPlayerPos(playerid,2221.0005,1838.7570,10.8203);
    
SetPlayerVirtualWorld(playerid,0);
    }
    return 
1;

this not load interior and pos
PHP код:
 Casino CreateDynamicCP(2166.1289,2165.0969,10.8203,1.0);
 
RedsandsWest CreateDynamicCP(1658.4846,2250.0439,11.0701,1.0);
 
RoyalCasino CreateDynamicCP(2090.0520,1514.6766,10.8203,1.0);
 
PinkCasinoLVPD CreateDynamicCP(2014.8260,1107.0189,10.8203,1.0);
 
 public 
OnPlayerEnterDynamicCP(playeridcheckpointid)
{
   if(
checkpointid == RoyalCasino)
   {
   if(!
IsPlayerInAnyVehicle(playerid))
   {
    
SetPlayerInterior(playerid12);
    
SetPlayerPos(playerid,1133.1853,-11.3326,1000.6797);
    
SetPlayerVirtualWorld(playerid,12);
    }
  }
   if(
checkpointid == PinkCasinoLVPD)
   {
   if(!
IsPlayerInAnyVehicle(playerid))
   {
    
SetPlayerInterior(playerid12);
    
SetPlayerPos(playerid,1133.1853,-11.3326,1000.6797);
    
SetPlayerVirtualWorld(playerid,11);
    }
  }
   if(
checkpointid == Casino)
   {
   if(!
IsPlayerInAnyVehicle(playerid))
   {
    
SetPlayerInterior(playerid12);
    
SetPlayerPos(playerid,1133.1853,-11.3326,1000.6797);
    
SetPlayerVirtualWorld(playerid,10);
    }
  }
   if(
checkpointid == RedsandsWest)
   {
   if(!
IsPlayerInAnyVehicle(playerid))
   {
    
SetPlayerInterior(playerid12);
    
SetPlayerPos(playerid,1133.1853,-11.3326,1000.6797);
    
SetPlayerVirtualWorld(playerid,9);
    }
  }
   return 
1;
}
   return 
1;
}
public 
OnPlayerLeaveDynamicCP(playeridcheckpointid)
{
   if(
checkpointid == ExRedsandsWest)
   {
    
SetPlayerInterior(playerid0);
    
SetPlayerPos(playerid1658.7145,2253.7153,10.8203);
    
SetPlayerVirtualWorld(playerid,0);
    }
   if(
checkpointid == ExPinkCasinoLVPD)
   {
    
SetPlayerInterior(playerid0);
    
SetPlayerPos(playerid2019.1819,1100.4955,10.8203);
    
SetPlayerVirtualWorld(playerid,0);
    }
   if(
checkpointid == ExCasino)
   {
    
SetPlayerInterior(playerid0);
    
SetPlayerPos(playerid2162.1414,2159.8154,10.8203);
    
SetPlayerVirtualWorld(playerid,0);
    }
   if(
checkpointid == ExRoyalCasino)
   {
    
SetPlayerInterior(playerid0);
    
SetPlayerPos(playerid2084.7068,1518.6965,10.8203);
    
SetPlayerVirtualWorld(playerid,0);
    }
   return 
1;

please help +rep
Reply


Messages In This Thread
[Help]Checkpoints Not Load - by mant - 02.10.2014, 09:15
Re: [Help]Checkpoints Not Load - by mant - 02.10.2014, 10:42
Re: [Help]Checkpoints Not Load - by weedxd - 02.10.2014, 10:48
Re: [Help]Checkpoints Not Load - by mant - 02.10.2014, 11:25
Re: [Help]Checkpoints Not Load - by mant - 02.10.2014, 12:07
Re: [Help]Checkpoints Not Load - by weedxd - 02.10.2014, 12:45
Re: [Help]Checkpoints Not Load - by mant - 02.10.2014, 13:09
Re: [Help]Checkpoints Not Load - by mant - 02.10.2014, 14:09
Re: [Help]Checkpoints Not Load - by mant - 02.10.2014, 17:05
Re: [Help]Checkpoints Not Load - by mant - 02.10.2014, 20:42

Forum Jump:


Users browsing this thread: 1 Guest(s)