Quote:
Originally Posted by Max_Coldheart
Not a tutorial.
And it would be easier to use
pawn Код:
public OnPlayerText(playerid, text) // The callback { // Opening the callback if(PlayerInfo[playerid][pVIP] >= 1) // Checking if the player is VIP { // Opening the bracket new string[128], name[MAX_PLAYER_NAME]; // Creating new string with size of 128 cells, and "name" with size of MAX_PLAYER_NAME GetPlayerName(playerid, name, sizeof(name)); // Getting the players name into "name" variabl e format(string, sizeof(string), "VIP %s: %s", name, text); // Formatting the script (%s = piece of text (string)) SendClientMessageToAll(text); // Sending the message typed to all players. } // Closing the bracket return 0; // Returning 0 so this will be sent instead of the normal message } // Closing the callback
Have a nice day !
|
Dude Thats a Command To Be Added In LuxAdmin Not GameMode
And /vsay is the cmd
to vip say