#include <a_samp>#include <zcmd>#define COLOR_RED 0xff0000AAnew asz;new string[128];new neve[MAX_PLAYER_NAME];CMD:adminbelep(playerid, params[]){if (IsPlayerAdmin(playerid)) //ezt kicseréled a luxadminosra{SetPlayerSkin(playerid, 217);asz = Create3DTextLabel(\"Admin Szolgálatban\", COLOR_RED, 0.0, 0.0, 2.0, 40, 0, 0);Attach3DTextLabelToPlayer(asz, playerid, 0.0, 0.0, 0.4);GetPlayerName(playerid, neve, sizeof(neve));SendClientMessageToAll(COLOR_RED, \"-------------------------------\");format(string, sizeof(string), \"Admin %s szolgálatba lépett!\", neve);SendClientMessageToAll(COLOR_RED,string);SendClientMessageToAll(COLOR_RED, \"-------------------------------\"); }}return 1;}
16. sor: asz = Create3DTextLabel(\"Admin Szolgálatban\", COLOR_RED, 0.0, 0.0, 2.0, 40, 0, 0);17. sor: Attach3DTextLabelToPlayer(asz, playerid, 0.0, 0.0, 0.4);
if (IsPlayerAdmin(playerid)) //ezt kicseréled a luxadminosra
#include <a_samp>#include <zcmd>#define COLOR_RED 0xAA3333AAnew asz;new string[128];new neve[MAX_PLAYER_NAME]; CMD:adminbelep(playerid, params[]) { SetPlayerSkin(playerid, 217); asz = Create3DTextLabel(\"Admin Szolgálatban\", COLOR_RED, 0.0, 0.0, 2.0, 40, 0, 0); Attach3DTextLabelToPlayer(asz, playerid, 0.0, 0.0, 0.4); GetPlayerName(playerid, neve, sizeof(neve)); SendClientMessageToAll(COLOR_RED, \"-------------------------------\"); format(string, sizeof(string), \"Admin %s szolgálatba lépett!\", neve); SendClientMessageToAll(COLOR_RED,string); SendClientMessageToAll(COLOR_RED, \"-------------------------------\");return 1; }
#include <a_samp>#include <zcmd>#define COLOR_RED 0xff0000AAnew Text3D: asz, string[ 128 ], neve[ MAX_PLAYER_NAME ];CMD:adminbelep( playerid, params[] ){ if ( IsPlayerAdmin( playerid ) ) { SetPlayerSkin( playerid, 217 ); asz = Create3DTextLabel( \" Admin Szolgálatban \", COLOR_RED , 0.0, 0.0, 2.0, 40, 0, 0 ); Attach3DTextLabelToPlayer( asz, playerid, 0.0, 0.0, 0.4 ); GetPlayerName( playerid, neve, sizeof( neve ) ); SendClientMessageToAll( COLOR_RED, \"-------------------------------\" ); format( string, sizeof( string ), \"Admin %s szolgálatba lépett!\", neve ); SendClientMessageToAll( COLOR_RED,string ); SendClientMessageToAll( COLOR_RED, \"-------------------------------\" ); } return 1;}
#include <a_samp>#include <zcmd>#define COLOR_RED 0xff0000AAnew string[128];new neve[MAX_PLAYER_NAME];CMD:adminbelep(playerid, params[]){ if (IsPlayerAdmin(playerid)) //ezt kicseréled a luxadminosra { SetPlayerSkin(playerid, 217); new Text3D:asz = Create3DTextLabel(\"Admin Szolgálatban\", COLOR_RED, 0.0, 0.0, 2.0, 40, 0, 0); Attach3DTextLabelToPlayer(asz, playerid, 0.0, 0.0, 0.4); GetPlayerName(playerid, neve, sizeof(neve)); SendClientMessageToAll(COLOR_RED, \"-------------------------------\"); format(string, sizeof(string), \"Admin %s szolgálatba lépett!\", neve); SendClientMessageToAll(COLOR_RED,string); SendClientMessageToAll(COLOR_RED, \"-------------------------------\"); } return 1;}