-
szabályzat Filterszkripter [/quote] public OnPlayerRequestClass(playerid, classid){ TextDrawShowForPlayer(playerid, Textdraw0); TextDrawShowForPlayer(playerid, Textdraw1); TextDrawShowForPlayer(playerid, Textdraw2); TextDrawShowForPlayer(playerid, Textdraw3); TextDrawShowForPlayer(playerid, Textdraw4); TextDrawShowForPlayer(playerid, Textdraw5); TextDrawShowForPlayer(playerid, Textdraw6); TextDrawShowForPlayer(playerid, Textdraw7); TextDrawShowForPlayer(playerid, Textdraw8); TextDrawShowForPlayer(playerid, Textdraw9); TextDrawShowForPlayer(playerid, Textdraw10); TextDrawShowForPlayer(playerid, Textdraw11); TextDrawShowForPlayer(playerid, Textdraw12); TextDrawShowForPlayer(playerid, Textdraw13); return 1;} Így sorokat megtudtál volna takarítani: public OnPlayerRequestClass(playerid, classid){ TextDrawShowForPlayer(playerid, Textdraw0); TextDrawShowForPlayer(playerid, Textdraw1); TextDrawShowForPlayer(playerid, Textdraw2); TextDrawShowForPlayer(playerid, Textdraw3); TextDrawShowForPlayer(playerid, Textdraw4); TextDrawShowForPlayer(playerid, Textdraw5); TextDrawShowForPlayer(playerid, Textdraw5); TextDrawShowForPlayer(playerid, Textdraw6); TextDrawShowForPlayer(playerid, Textdraw7); TextDrawShowForPlayer(playerid, Textdraw8); És ezt így folytatni tovább... return 1;} VAGY ha ezt mégegyszerübben szeretted volna megoldani, akkor:new Text:Szabalytext[ 14 ]; Szabalytext[ 1 ] = TextDrawCreate(38.000000, 120.000000, \"Szabalyzat!\"); TextDrawBackgroundColor(Szabalytext[ 1 ], 65535); TextDrawFont(Szabalytext[ 1 ], 0); TextDrawLetterSize(Szabalytext[ 1 ], 0.909999, 2.800000); STB........ Onplayerconnect...for ( new i = 0; i < 14; i++ ) TextDrawShowForPlayer (playerid, Szabalytext[ i ] );
public OnPlayerRequestClass(playerid, classid){ TextDrawShowForPlayer(playerid, Textdraw0); TextDrawShowForPlayer(playerid, Textdraw1); TextDrawShowForPlayer(playerid, Textdraw2); TextDrawShowForPlayer(playerid, Textdraw3); TextDrawShowForPlayer(playerid, Textdraw4); TextDrawShowForPlayer(playerid, Textdraw5); TextDrawShowForPlayer(playerid, Textdraw6); TextDrawShowForPlayer(playerid, Textdraw7); TextDrawShowForPlayer(playerid, Textdraw8); TextDrawShowForPlayer(playerid, Textdraw9); TextDrawShowForPlayer(playerid, Textdraw10); TextDrawShowForPlayer(playerid, Textdraw11); TextDrawShowForPlayer(playerid, Textdraw12); TextDrawShowForPlayer(playerid, Textdraw13); return 1;}
public OnPlayerRequestClass(playerid, classid){ TextDrawShowForPlayer(playerid, Textdraw0); TextDrawShowForPlayer(playerid, Textdraw1); TextDrawShowForPlayer(playerid, Textdraw2); TextDrawShowForPlayer(playerid, Textdraw3); TextDrawShowForPlayer(playerid, Textdraw4); TextDrawShowForPlayer(playerid, Textdraw5); TextDrawShowForPlayer(playerid, Textdraw5); TextDrawShowForPlayer(playerid, Textdraw6); TextDrawShowForPlayer(playerid, Textdraw7); TextDrawShowForPlayer(playerid, Textdraw8); És ezt így folytatni tovább... return 1;}