Jump to content
  • 0

pomoc Pred Menom [RCON ADMIN] hádže errory


djvale5

Dotaz

#include <a_samp>
#pragma tabsize 0
public OnPlayerText(playerid, text[])
{
new string[128];
format(string, 128, "[RCON ADMIN]%s : %s",PlayerName(playerid), text);
SendClientMessageToAll(GetPlayerColor(playerid), string);
return 0;
}

 

Mám problém s týmto statusom pred hráča keď niečo napíše , ale hádže errory !

Link to comment
Share on other sites

4 odpovědí na tuto otázku

Recommended Posts

  • 0
public onplayertext(......)
{
if(IsPlayerAdmin(playerid) == 1){
new str[128];
new meno[50];
GetPlayerName(playerid, meno, 50);
format(str, 128, "[rcon admin] %s : %s", meno, text);
SendClientMessageToAll(-1, str);
return 0;
}
......
return 1;
} 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...