samp.directory
← Scripts e bibliotecas

knownasrazi/samp-cream-gamemode

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

Gamemode★ 5atualizado há 42 diasMITPawn
Abrir no 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

Esta página é montada com o que o GitHub publica sobre o repositório. O samp.directory não hospeda o código. Avisar de um problema com esta página