Car Respawn[rep]
#3

Here:

PHP код:
public OnPlayerExitVehicle(playeridvehicleid)
{
    new 
pName[24];
    
GetPlayerName(playeridpName24);
    if(
PlayerInfo[playerid][pSeatBelt] == 1)
    {
          
PlayerInfo[playerid][pSeatBelt] = 0;
        new 
stringtosee[255];
        new 
sendername[MAX_PLAYER_NAME];
        
GetPlayerName(playeridsendernamesizeof(sendername));
        new 
ftext[255];
        if(
PlayerInfo[playerid][pSex] == 1)
        {
            
ftext "his";
        }
        else if(
PlayerInfo[playerid][pSex] == 1)
        {
            
ftext "her";
        }
        
format(stringtoseesizeof(stringtosee), "* %s unbuckles %s seat belt"sendername ftext);
        
ProxDetector(30.0playeridstringtosee0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA);
         return 
1;
    }
    return 
1;

i put this..

PHP код:
forward IsACopCar(carid); 
PHP код:
    public IsACopCar(carid)
        {
        for(new 
0sizeof(copcar); i++)
        {
        if(
carid == copcar[i])    return 1;
        }
        return 
0;
        } 
Reply


Messages In This Thread
Car Respawn[rep] - by Dan_Barocu - 09.03.2012, 14:44
Re: Car Respawn[rep] - by Kingunit - 09.03.2012, 14:46
Re: Car Respawn[rep] - by Dan_Barocu - 09.03.2012, 17:06
Re: Car Respawn[rep] - by Dan_Barocu - 11.03.2012, 00:42
AW: Car Respawn[rep] - by Nero_3D - 11.03.2012, 01:03
Re: Car Respawn[rep] - by eesh - 11.03.2012, 03:10
Re: Car Respawn[rep] - by Dan_Barocu - 11.03.2012, 14:30
Re: Car Respawn[rep] - by eesh - 11.03.2012, 15:10
Re: Car Respawn[rep] - by Dan_Barocu - 11.03.2012, 15:13

Forum Jump:


Users browsing this thread: 5 Guest(s)