Blank line in chatbox
#3

That text was just an example, but here is the code that normally would be above that:

pawn Код:
format(string, sizeof(string), "* %s spins a key and tries to start vehicle engine.", sendername);
                    ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
                    SetTimerEx("StartingTheVehicle",3500,0,"i",playerid);//The timer that gives the code I put in the first post
                    GameTextForPlayer(playerid, "~w~Starting vehicle engine...",3500,3);
                    gEngine[idcar] = 1;
                    new engine,lights,alarm,doors,bonnet,boot,objective;
                    GetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,lights,alarm,doors,bonnet,boot,objective);
                    SetVehicleParamsEx(GetPlayerVehicleID(playerid), 1, lights, 0, 0, 0, 0, 0);
                    new y, m, d;
                    new h,mi,s;
                    getdate(y,m,d);
                    gettime(h,mi,s);
                    format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s [CMD] -> /engine",d,m,y,h,mi,s,sendername);
                    CommandLog(string);
                    return 1;
                }
The color defines are fine, I use them for other things in my script without problems.
Reply


Messages In This Thread
Blank line in chatbox - by jakejohnsonusa - 20.03.2013, 20:26
Re: Blank line in chatbox - by Joshman543 - 20.03.2013, 20:31
Re: Blank line in chatbox - by jakejohnsonusa - 20.03.2013, 20:39
Re: Blank line in chatbox - by Joshman543 - 20.03.2013, 21:37

Forum Jump:


Users browsing this thread: 2 Guest(s)