28.06.2011, 20:19
Hey all.. I made a "textdraw" wich is using 14 different textdraws. My question is if i can put this shorter or must i do it like this ?
Код:
public OnPlayerSpawn(playerid) { GangZoneShowForPlayer(playerid, lsmwzone, 0xD900D3C8); 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); TextDrawShowForPlayer(playerid, Textdraw14);