Jump to content
  • 0

pomoc /me a /do


chumpa

Dotaz

7 odpovědí na tuto otázku

Recommended Posts

  • 0

/me a /do je to isté?

public OnPlayerCommandText(playerid, cmdtext[]) {
  if (!strcmp("/me", cmdtext)) {
    new str[128];
    GetPlayerName(playerid, str, MAX_PLAYER_NAME);
    strcat(str, cmdtext[3]);
    SendLocalMessage(playerid, str);
    return 1;
  }
  return 0;
}

stock SendLocalMessage(playerid, text[]) {
  new Float:x, Float:y, Float:z;
  GetPlayerPos(playerid, x, y, z);
  for (new i; i < MAX_PLAYERS; i++)
    if (IsPlayerInRangeOfPoint(i, x, y, z, 10.0))
      SendClientMessage(i, 0xB9B9BFFF, text);
}
Link to comment
Share on other sites

  • 0

no právě pro mě to těžké je :d

Pro tebe je těžké /me a /do, tak to nezapoměň na něco jako /ame a /ado..

Ale jestliže neumíš udělat něco tak základního jako /me a /do (myslím teď důležité na RP scéně) tak se do RP ani nepouštěj -_-

  • Líbí se mi to! (+1) 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...