SA-MP Forums Archive
Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help (/showthread.php?tid=571443)



Help - Medscripter - 18.04.2015

Hello All!
Hwo to fix this Errors


Line 18410



Re: Help - Ahmad45123 - 18.04.2015

Please put the code... Not a SS.

I want to see the code behind the compiler window.

And also, Next time use a proper thread title.


Re: Help - Medscripter - 18.04.2015

Line 18410

Код:
	if(CreatingRace[playerid])
	{
	    RemoveCreateRaceSpawnPickups(playerid);
	    DisablePlayerRaceCheckpoint(playerid);
        CreatingRace[playerid]=false;
        SendLanguageMessage(playerid,COLOR_RACE,"  Du hast dein Rennen verworfen!","  You have cleared the race!");
   	    TextDrawHideForPlayer(playerid, BOX_TopTime);
 	    TextDrawHideForPlayer(playerid, BOX_5NameTopTime);
 	    TextDrawHideForPlayer(playerid, TopTime);
 	    TextDrawHideForPlayer(playerid, Class_TopTime[playerid]);
        PlayerInfo[playerid][InRace] = 0;
        return 1;
	}
and line 19937

Код:
    if(MinigamePlayerInfo[playerid][mRace][mJoined] == true)
 	{
 	    new srv_string[256];
 	    TextDrawShowForPlayer(playerid, BOX_TopTime);
 	    TextDrawShowForPlayer(playerid, BOX_5NameTopTime);
 	    TextDrawShowForPlayer(playerid, TopTime);
 	    for(new i=0;i<5;i++)
 	    {
			format(srv_string, sizeof(srv_string), "   {F3F781}%d. {01DFA5}%s {FA5858}-> {FFFFFF}%s", i+1, TopRaceDrivers[raceid][i], GetTimeAsStringEx(TopRaceTimes[raceid][i]));
			TextDrawSetString(Class_TopTime, srv_string);
			TextDrawShowForPlayer(playerid, Class_TopTime);
		}
		PlayerInfo[playerid][InRace] = 1;
	}