i have no clue what i am doing so please do not quote me on this. i am just showing example.
edit: and... polishing and grinding my Polis if you don't mind me.
PHP Code:
#include <sourcemod>
#include <sdktools_functions>
// Info na temat plugina - Plugin info
public Plugin:myinfo = {
name = "CSMaxShot Core",
author = "Kazafka",
description = "Dobry plugin, polecam!",
version = "0.0.3"
}
// Zmiana pseudonimu gracza - Player's alias changing
public OnClientPostAdminCheck( client ) {
if( client > 0 && CheckCommandAccess( client, "generic_admin", ADMFLAG_GENERIC, false )) { // to jest filtr
char name[MAX_NAME_LENGTH], buffer[MAX_NAME_LENGTH]
GetClientName( client, name, sizeof( name ))
Format( buffer, sizeof( buffer ), "GODADMIN-%s", name ) // Nie wiem, co próbujesz zrobić
SetClientName( client, buffer )
}
}
__________________