About CreateDynamicCP
#1

Hello Guys
My Problem i made the Checkpoints its good when im #Enter / But when im Exit not load fast idk why im in checkpoints exit stay and not move to out why ? enter working good but exit no what is wrong to not exit ?
this Exit
PHP код:
   if(checkpointid == ExBurger50)
     {
        
SetPlayerInterior(playerid0);
        
SetPlayerPos(playerid,1208.7490,-917.7995,43.0514);
        
SetPlayerVirtualWorld(playerid,0);
        
SetCameraBehindPlayer(playerid);
      } 
this #Enter its working very good
PHP код:
   if(checkpointid == Burger50)
     {
     if(!
IsPlayerInAnyVehicle(playerid))
       {
        
SetPlayerInterior(playerid10);
        
SetPlayerPos(playerid365.6372,-72.8421,1001.5078);
        
SetPlayerVirtualWorld(playerid,50);
      }
   } 
Why its not working good like #Enter
Help Me Please :*
This Full Code For ExBruger
PHP код:
new ExBurger50
PHP код:
ExBurger50 CreateDynamicCP(362.8540,-75.1511,1001.5078,1.0,50); 
PHP код:
   if(checkpointid == ExBurger50)
     {
      if(!
IsPlayerInAnyVehicle(playerid))
        {
         
SetPlayerInterior(playerid0);
         
SetPlayerPos(playerid,1208.7490,-917.7995,43.0514);
         
SetPlayerVirtualWorld(playerid,0);
         
SetCameraBehindPlayer(playerid);
      }
   } 
why its not out to this Pos
PHP код:
1208.7490,-917.7995,43.0514 
?
not there somthings wrong in code!
https://www.youtube.com/watch?v=xonO...ature=********* Watch
Reply
#2

Код:
   if(checkpointid == ExBurger50) 
     { 
      if(!IsPlayerInAnyVehicle(playerid))
        {
         SetPlayerInterior(playerid, 0); 
         SetPlayerPos(playerid,1208.7490,-917.7995,43.0514); 
         SetPlayerVirtualWorld(playerid,0); 
         SetCameraBehindPlayer(playerid); 
      } 
   }
:/ LoL
Reply
#3

Quote:
Originally Posted by MicroKyrr
Посмотреть сообщение
Код:
   if(checkpointid == ExBurger50) 
     { 
      if(!IsPlayerInAnyVehicle(playerid))
        {
         SetPlayerInterior(playerid, 0); 
         SetPlayerPos(playerid,1208.7490,-917.7995,43.0514); 
         SetPlayerVirtualWorld(playerid,0); 
         SetCameraBehindPlayer(playerid); 
      } 
   }
:/ LoL
not fix any things
see
Reply
#4

Do you have
ExBurger50 = CreateDynamicCP
?
or missing ExBurger50 and only is
CreateDynamicCP..
Reply
#5

Quote:
Originally Posted by Jefff
Посмотреть сообщение
Do you have
ExBurger50 = CreateDynamicCP
?
or missing ExBurger50 and only is
CreateDynamicCP..
PHP код:
ExBurger50 CreateDynamicCP(362.8540,-75.1511,1001.5078,1.0,50); 
here man
i have it
Reply
#6

not there any somthings wrong in u script but what this bug omg :O
Reply
#7

Watch My Video To Know what i mean in Frist Comments
https://www.youtube.com/watch?v=xonO...ature=*********
Reply
#8

Quote:
Originally Posted by astanalol
Посмотреть сообщение
not there any somthings wrong in u script but what this bug omg :O
yea i dont know what is that :/
Reply
#9

What callback are you using to check entering the checkpoints?
Reply
#10

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
What callback are you using to check entering the checkpoints?
this enter CP
Enter And Exit not there diffrent in code i made it but exit not working good like u see
PHP код:
new Burger50
PHP код:
Burger50 CreateDynamicCP(1205.4768,-918.0059,43.0854,1.0); 
PHP код:
   if(checkpointid == Burger50)
     {
     if(!
IsPlayerInAnyVehicle(playerid))
       {
        
SetPlayerInterior(playerid10);
        
SetPlayerPos(playerid365.6372,-72.8421,1001.5078);
        
SetPlayerVirtualWorld(playerid,50);
      }
   } 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)