- 0
Problema mare la TextDraw(din GameMode)
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Guest Alxxie
Tocmai faceam un GameMode.Am vrut sa-i pun un text draw dar problema este ca nu imi apare cand sunt pe server.Totul merge perfect inafara de faptul ca text draw-ul nu apare.
Sus dupa define color....etc am pus:
Dupa public OnGameModeInit() am pus(dupa astea am si AddPlayerClass..etc):{ Zi = TextDrawCreate(390,491,"ZOMBIE INVADATION"); TextDrawFont(Zi,3); TextDrawColor(Zi,0xFF0000AA); TextDrawLetterSize(Zi,0.599999,1.000000); TextDrawSetOutline(Zi,1); TextDrawSetShadow(Zi,1); TextDrawSetProportional(Zi,1);Dupa public OnPlayerConnect(playerid) am pus(pun tot ce este):{ TextDrawShowForPlayer(playerid, Zi); SendClientMessage(playerid, COLOR_RED, "Bine ai venit pe serverul nostru!Pentru ajutor scrie /help"); new pName[MAX_PLAYER_NAME]; new string[48]; GetPlayerName(playerid, pName, sizeof(pName)); format(string, sizeof(string), "%s a intrat pe server.", pName); SendClientMessageToAll(0xE2E2E2FF, string); return 1; }Unde am gresit? ??? L-am compilat fara nicio problema.Sa-mi zica zica cineva unde e "buba"
.
4 answers to this question
Recommended Posts