[Help] [debug] #0 002142b4 in public @_yCexit (0, 32741176, 0) from XGTA.amx
#1

ER
PHP код:
[15:18:23] [debugAMX backtrace:
[
15:18:23] [debug#0 002142b4 in public @_yCexit (0, 32741176, 0) from XGTA.amx
[15:18:23] [debug#1 00214094 in public @yC_exit (0, 32741176, 0, 0) from XGTA.amx
[15:18:23] [debug#2 native CallRemoteFunction () from samp-server.exe
[15:18:23] [debug#3 0001d218 in ?? (0, 32741152, 0) from XGTA.amx
[15:18:23] [debug#4 0001ca5c in ?? (0, 32741152) from XGTA.amx
[15:18:23] [debug#5 000088f0 in public OnPlayerCommandText (0, 32741152) from XGTA.amx
[15:18:42] [partTrong_Dat has left the server (0:1
CMD
PHP код:
YCMD:exit(playeridparams[],help)
{
    
#pragma unused help
    #pragma unused params
    
for(new gMAX_GARAZAg++)
    {
        if(
IsPlayerInRangeOfPoint(playerid7.0GarazaInfo[g][gIzlazX], GarazaInfo[g][gIzlazY], GarazaInfo[g][gIzlazZ]))
        {
            if(
GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
             {
                 
SetPlayerVirtualWorld(playerid0);
                   
SetPlayerInterior(playerid0);
                   
SetPlayerPos(playeridGarazaInfo[UsaoUGarazu[playerid]][gUlazX], GarazaInfo[UsaoUGarazu[playerid]][gUlazY], GarazaInfo[UsaoUGarazu[playerid]][gUlazZ]);
                   
UsaoUGarazu[playerid] = -1;
              }
            else if(
GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
             {
                for(new 
0MAX_PLAYERSi++)
                 {
                    new 
vid GetPlayerVehicleID(playerid);
                       if(
vid == VoziloInfo[PI[playerid][Vozilo1]][vID])
                     {
                        
SetVehiclePos(vid,GarazaInfo[UsaoUGarazu[playerid]][gUlazX], GarazaInfo[UsaoUGarazu[playerid]][gUlazY], GarazaInfo[UsaoUGarazu[playerid]][gUlazZ]);
                        
SetVehicleVirtualWorld(vid,0);
                        
////////////////////////////////////////////////////
                        
SetPlayerVirtualWorld(playerid0);
                         
SetPlayerInterior(playerid0);
                          
SetPlayerPos(playeridGarazaInfo[UsaoUGarazu[playerid]][gUlazX], GarazaInfo[UsaoUGarazu[playerid]][gUlazY], GarazaInfo[UsaoUGarazu[playerid]][gUlazZ]);
                        
PutPlayerInVehicle(playerid,vid,0);
                        
UsaoUGarazu[playerid] = -1;
                    }
                    else if(
vid == VoziloInfo[PI[playerid][Vozilo2]][vID])
                           {
                            
SetVehiclePos(vid,GarazaInfo[UsaoUGarazu[playerid]][gUlazX], GarazaInfo[UsaoUGarazu[playerid]][gUlazY], GarazaInfo[UsaoUGarazu[playerid]][gUlazZ]);
                            
SetVehicleVirtualWorld(vid,0);
                            
////////////////////////////////////////////////////
                            
SetPlayerVirtualWorld(playerid0);
                             
SetPlayerInterior(playerid0);
                              
SetPlayerPos(playeridGarazaInfo[UsaoUGarazu[playerid]][gUlazX], GarazaInfo[UsaoUGarazu[playerid]][gUlazY], GarazaInfo[UsaoUGarazu[playerid]][gUlazZ]);
                            
PutPlayerInVehicle(playerid,vid,0);
                            
UsaoUGarazu[playerid] = -1;
                           }
                    else if(
vid == VoziloInfo[PI[playerid][Vozilo3]][vID])
                           {
                            
SetVehiclePos(vid,GarazaInfo[UsaoUGarazu[playerid]][gUlazX], GarazaInfo[UsaoUGarazu[playerid]][gUlazY], GarazaInfo[UsaoUGarazu[playerid]][gUlazZ]);
                            
SetVehicleVirtualWorld(vid,0);
                            
////////////////////////////////////////////////////
                            
SetPlayerVirtualWorld(playerid0);
                             
SetPlayerInterior(playerid0);
                              
SetPlayerPos(playeridGarazaInfo[UsaoUGarazu[playerid]][gUlazX], GarazaInfo[UsaoUGarazu[playerid]][gUlazY], GarazaInfo[UsaoUGarazu[playerid]][gUlazZ]);
                            
PutPlayerInVehicle(playerid,vid,0);
                            
UsaoUGarazu[playerid] = -1;
                           }
                }
             }
         }
    }
    return 
1;

help me! thank all
Reply
#2

Show OnPlayerCommandText
Reply
#3

I can not find OnPlayerCommandText
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)