samp.directory
← Скрипты и библиотеки

knownasrazi/samp-cream-gamemode

samp-cream-gamemode - humanized SAMP/open.mp

Игровой мод★ 5обновлён 42 дня назадMITPawn
Открыть на GitHub

README.md

samp-clean-gamemode

Roleplay, refined.

Clean roleplay gamemode for SA-MP and open.mp - hand-crafted Pawn, modular and readable.

This is not a generated gamemode. Every include is hand-placed, every callback is commented like a human left notes for their future self.

Why clean?

Most gamemodes are 10k lines in one file. This one is split - core/, systems/, jobs/ - so you can actually read it.

Structure

\
samp-clean-gamemode/ gamemodes/clean.pwn # entry, hand-crafted includes/clean/ # core filterscripts/ # vault scriptfiles/ \\

Hand-crafted Pawn snippet

\\pawn // core/player.pwn - human notes, not AI droppings

// When a player joins, we set their clean data gently. // No magic numbers - see clean.inc for constants. public OnPlayerConnect(playerid) { // Reset their session so no leftover data leaks ResetPlayerCleanData(playerid);

// Clean welcome - delayed so it feels natural
SetTimerEx("SendCleanWelcome", 1200, false, "i", playerid);
return 1;

} \\

Get started

\\ash git clone https://github.com/knownasrazi/samp-clean-gamemode.git cd samp-clean-gamemode

open in open.mp server, compile with pawncc

\\

License

MIT + Razi

Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью

knownasrazi/samp-cream-gamemode: Игровой мод для SA-MP | samp.directory