30.09.2016, 21:11
(
Последний раз редактировалось RedMF; 01.10.2016 в 06:39.
)
Quote:
Alguem sabe criar aquela efeito ou sistema sei la que troca de imagem do conecta exemplo o player logo e viu uma imagem dai quando ele reloga ver outra
|
Код:
#include <a_samp> new Text:DrawConnect; public OnPlayerRequestClass(playerid, classid) { TextDrawHideForPlayer(playerid, DrawConnect); return 1; } public OnPlayerConnect(playerid) { new Imagens = random(14); switch(Imagens) { case 0: DrawConnect = TextDrawCreate(0.000000, 0.000000, "LOADSUK:loadsc9"); case 1: DrawConnect = TextDrawCreate(0.000000, 0.000000, "LOADSUK:loadsc8"); case 2: DrawConnect = TextDrawCreate(0.000000, 0.000000, "LOADSUK:loadsc7"); case 3: DrawConnect = TextDrawCreate(0.000000, 0.000000, "LOADSUK:loadsc6"); case 4: DrawConnect = TextDrawCreate(0.000000, 0.000000, "LOADSUK:loadsc5"); case 5: DrawConnect = TextDrawCreate(0.000000, 0.000000, "LOADSUK:loadsc4"); case 6: DrawConnect = TextDrawCreate(0.000000, 0.000000, "LOADSUK:loadsc3"); case 7: DrawConnect = TextDrawCreate(0.000000, 0.000000, "LOADSUK:loadsc2"); case 8: DrawConnect = TextDrawCreate(0.000000, 0.000000, "LOADSUK:loadsc1"); case 9: DrawConnect = TextDrawCreate(0.000000, 0.000000, "LOADSUK:loadsc14"); case 10: DrawConnect = TextDrawCreate(0.000000, 0.000000, "LOADSUK:loadsc13"); case 11: DrawConnect = TextDrawCreate(0.000000, 0.000000, "LOADSUK:loadsc12"); case 12: DrawConnect = TextDrawCreate(0.000000, 0.000000, "LOADSUK:loadsc11"); case 13: DrawConnect = TextDrawCreate(0.000000, 0.000000, "LOADSUK:loadsc10"); } TextDrawFont(DrawConnect, 4); TextDrawTextSize(DrawConnect, 641.500, 451.000); TextDrawColor(DrawConnect, -1); TextDrawShowForPlayer(playerid, DrawConnect); return 1; }