Pawno Crashes.
#10

pawn Код:
#define FILTERSCRIPT

#include < a_samp >

#define COLOR -1

new
    VehicleWindows[ MAX_PLAYERS ]
;

public OnPlayerText(playerid, text[])
{
    if(IsPlayerInAnyVehicle(playerid))
    {
        new
            string[ 128 ]
        ;
        if(VehicleWindows[playerid] == 0) format(string, sizeof(string), "[Windows Open]: %s", text);
        else if(VehicleWindows[playerid] == 1) format(string, sizeof(string), "[Windows Shut]: %s", text);
        SendClientMessage(playerid, COLOR, string);
    }
    return 1;
}
pawn Код:
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase
Reply


Messages In This Thread
Pawno Crashes. - by Desi_Dude - 14.11.2012, 06:10
Re: Pawno Crashes. - by Plovix - 14.11.2012, 06:16
Re: Pawno Crashes. - by Desi_Dude - 14.11.2012, 06:20
Re: Pawno Crashes. - by Plovix - 14.11.2012, 06:22
Re: Pawno Crashes. - by Desi_Dude - 14.11.2012, 06:31
Re: Pawno Crashes. - by Plovix - 14.11.2012, 06:41
Re: Pawno Crashes. - by Desi_Dude - 14.11.2012, 06:45
Re: Pawno Crashes. - by Kreyg - 14.11.2012, 07:07
Re: Pawno Crashes. - by Desi_Dude - 14.11.2012, 07:47
Re: Pawno Crashes. - by Konstantinos - 14.11.2012, 09:00

Forum Jump:


Users browsing this thread: 1 Guest(s)