#include <a_samp>#include <sscanf2>#include <zcmd>CMD:rsay(playerid, params[]) {new msg[256], String[256];if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xE60000FF, \"Nem vagy RCON admin!\");if(sscanf(params, \"s[256]\", msg)) return SendClientMessage(playerid, -1, \"Használat: /rsay [szöveg]\");format(String, sizeof String, \"Tulaj: %s\", msg);SendClientMessageToAll(-1, String);return 1;}
#include <a_samp> #include <sscanf2> #include <zcmd> CMD:rsay(playerid, params[]) { new msg[128]; if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xE60000FF, \"Nem vagy RCON admin!\"); if(sscanf(params, \"s[256]\", msg)) return SendClientMessage(playerid, -1, \"Használat: /rsay [szöveg]\"); format(msg, 128, \"Tulaj: %s\", msg); SendClientMessageToAll(-1, msg); return 1; }
#include <a_samp> #include <sscanf2> #include <zcmd> CMD:rsay(playerid, params[]) { new msg[128]; if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xE60000FF, \"Nem vagy RCON admin!\"); if(sscanf(params, \"s\", msg)) return SendClientMessage(playerid, -1, \"Használat: /rsay [szöveg]\"); format(msg, 128, \"Tulaj: %s\", msg); SendClientMessageToAll(-1, msg); return 1; }
Köszönöm szépen!Sikerült!