SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 13/11/2015, 08:41 AM   #1
Imissziu
Big Clucker
 
Join Date: Jan 2014
Posts: 63
Reputation: 7
Default [Help] [debug] #0 002142b4 in public @_yCexit (0, 32741176, 0) from XGTA.amx

ER
PHP Code:
[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 Code:
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
Imissziu is offline   Reply With Quote
Old 13/11/2015, 10:54 AM   #2
Crystallize
Banned
 
Join Date: Aug 2013
Posts: 1,582
Reputation: 314
Default Re: [Help] [debug] #0 002142b4 in public @_yCexit (0, 32741176, 0) from XGTA.amx

Show OnPlayerCommandText
Crystallize is offline   Reply With Quote
Old 13/11/2015, 11:20 AM   #3
Imissziu
Big Clucker
 
Join Date: Jan 2014
Posts: 63
Reputation: 7
Default Re: [Help] [debug] #0 002142b4 in public @_yCexit (0, 32741176, 0) from XGTA.amx

I can not find OnPlayerCommandText
Imissziu is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
debug Ph0eniX Server Support 2 01/10/2014 10:29 AM
[Debug] Error public PryX0G3n Scripting Help 2 29/09/2012 11:33 PM


All times are GMT. The time now is 06:02 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.