18.03.2015, 14:29
Код:
#include <a_samp> #include <streamer> #include <sscanf2> #include <YSI\y_commands> #define COLOR_RED 0xFF0000FF main() { } public Ongamemodeinit() { return 1; } public OnGameModeExit() { return 1; } public OnPlayerConnect() { SendClientMessage (playerid, COLOR_RED, "WELCOME TO THE AVIATION LIFE"); new string[64], pName[MAX_PLAYER_NAME]; GetPlayerName(playerid,pName,MAX_PLAYER_NAME); format(string,sizeof string,"%s has joined the server. Welcome!",pName); SendClientMessageToAll(0xFFFFFFAA,string); return 1; } public OnPlayerDisconnect() { return 1; }