Search the Community
Showing results for tags 'pawn'.
-
Credits: Crt. Eltechs | Edit. rollercaster Tip Program/Sistem: Aplicatie de tip emulator pentru telefoane (ANDROID) Utilitate: Cu aceasta aplicatie puteti compila direct de pe telefon un GameMode samp sau chiar edita sau lucra la el. Desigur se pot folosi si alte programe de compilare pentru pc (Ex: Zeex, NotePad++, SublimeText, pawno, etc) Tutorial Video: Download Link: [Protected content]
- 124 replies
-
- android pawn compiler
- pawno
- (and 8 more)
-
In this topic, I'll post some codes I'll create for you to understand how this language works. (NOTE: These codes might not work as intended and might need some changes!) 1. Creates 2 text-draws that shows players connected and a welcoming message: #include <a_samp> new TextDraw:gWelcome, TextDraw:gPlayerList; main() { gWelcome = TextDrawCreate(10.0, 100.0, "Welcome to My Server"); TextDrawColor(gWelcome, 0xFFFFFFFF); TextDrawBackgroundColor(gWelcome, 0xFF000000); TextDrawLetterSize(gWelcome, 0.5, 1.0); TextDrawAlignment(gWelcome, 2); TextDrawSetOutline(gWelcome, 1); TextDrawSetShadow(gWelcome, 1); gPlayerList = TextDrawCreate(10.0, 150.0, "Players Online:"); TextDrawColor(gPlayerList, 0xFFFFFFFF); TextDrawBackgroundColor(gPlayerList, 0xFF000000); TextDrawLetterSize(gPlayerList, 0.3, 0.5); TextDrawAlignment(gPlayerList, 0); TextDrawSetOutline(gPlayerList, 1); TextDrawSetShadow(gPlayerList, 1); while (true) { // Update player list new playerCount = 0; for (new i = 0; i < MAX_PLAYERS; i++) { if (!IsPlayerConnected(i)) continue; playerCount++; new playerName[MAX_PLAYER_NAME]; GetPlayerName(i, playerName, sizeof(playerName)); TextDrawSetString(gPlayerList, playerCount + ". " + playerName); } // Wait a bit before updating again Sleep(5000); } return 0; } public OnPlayerConnect(playerid) { new message[128]; format(message, sizeof(message), "Player %s has joined the server.", GetPlayerName(playerid)); SendClientMessageToAll(0xFFFFFFAA, message); return 1; } public OnPlayerDisconnect(playerid, reason) { new message[128]; format(message, sizeof(message), "Player %s has left the server. Reason: %d", GetPlayerName(playerid), reason); SendClientMessageToAll(0xFFFFFFAA, message); return 1; }
-
In this topic, I'll post some codes I'll create for you to understand how this language works. (NOTE: These codes might not work as intended and might need some changes!) 1. If the player has "Leaks" in their name, it sends a welcoming message to them, eitherway, it sets their health to 200: #include <sourcemod> public Action:ClientConnect(int client) { char name[MAX_PLAYER_NAME+1]; GetClientName(client, name, sizeof(name)); if (strstr(name, "Leaks") != NULL) { char msg[128]; format(msg, sizeof(msg), "Welcome to the server, %s! Enjoy your stay.", name); ShowSyncTextMsg(client, 1, msg); } else { SetEntProp(client, Prop_Send, "m_iHealth", 200); } return Plugin_Continue; }
- 6 replies
-
- sourcepawn
- spawn
-
(and 2 more)
Tagged with:
-
Ofer servicii scripting, cunosc limbajul pawn si php, cei ce ma cunosc, ii rog sa-mi lase un reply. Mai multe detalii: La una din adresele de contact de mai jos. Contact: - Private Message pe Forum - Discord Giovani Vrt#0211 - Facebook Giovani Vrt Metode de plata: - PayPal - Skrill - Paysafe Card
-
Username: szrobert Vârstă: Am vârstă de 18 ani. Cum te-ai descrie (minim 20 de cuvinte)?: În primul rand va salut. Ma numesc Robert, un simplu baiat din municipiul Târgoviște pasionat de development, it, design. Îmi place sa ma implic în cât mai multe proiecte diversificate de unde îmi pot capătă o pura experienta personala. De ce ai aplicat pentru aceasta funcție: Deoarece vreau sa ajut aceasta comunitate, cât odată și pe mine însumi. Ce categorie vrei să moderezi: Pawn. Modalitate de contact: Discord (szrobert#8735) Alte prezentări: Mulțumesc pentru timpul acordat.
-
Username: AlexRoRpProblema întălnită: La compilarea gm-urilor folosesc sublime text 3 si am vrut sa folosesc Zeex Compiler pentru a compila gm-urile mai repede, insa dupa resetarea windowsului am primit o eroare. Folosesc windows 10.Detalii despre problemă: Link Versiune Zeex: https://github.com/pawn-lang/compiler/releases/tag/v3.10.8Ce ai încercat să faci înainte să postezi?: Am incercat versiunea v3.10.9Cod sursă (recomandat pastebin.com) : https://imgur.com/a/5gfCxQE Alte detalii: Nup.
- 5 replies
-
- pawn
- sublime text 3
-
(and 1 more)
Tagged with:
ABOUT LEAKS COMMUNITY
LEAKS.RO is a resource community where aspiring webmasters can share content and receive support for a wide variety of software platforms — no license required.