Jump to content
  • 0

Cum pun (A) in fata numeleui


Question

Posted

Salut, am si eu o intrebare cum pui (A) in fata numleui dupa ce ii setezi admin samp si (H) dupa ce primeste helper

ex: am admin 7 si cand scriu in chat "(A) Venox: ...."'

ex: "(H) Venox: ...."'

2 answers to this question

Recommended Posts

  • 0
Posted
Acum 10 ore, Venox a spus:

Salut, am si eu o intrebare cum pui (A) in fata numleui dupa ce ii setezi admin samp si (H) dupa ce primeste helper

ex: am admin 7 si cand scriu in chat "(A) Venox: ...."'

ex: "(H) Venox: ...."'

La OnPlayerText unde se formateaza mesajul care e trimis verifica daca e admin sau helper si formateaza cu (A) sau (H) in fata %s.

Ex:

new Mesaj[144];
if(PlayerInfo[playerid][pAdmin] > 0)
	format( Mesaj, sizeof( Mesaj ), "(A) %s[%d]: {FFFFFF}%s", GetName( playerid ), playerid, text );
else if(PlayerInfo[playerid][pHelper] > 0)
	format( Mesaj, sizeof( Mesaj ), "(H) %s[%d]: {FFFFFF}%s", GetName( playerid ), playerid, text );
else
	format( Mesaj, sizeof( Mesaj ), "%s[%d]: {FFFFFF}%s", GetName( playerid ), playerid, text );
SCMTA( culoare, Mesaj);

 

  • 0
Posted
Acum 13 ore, Venox a spus:

Salut, am si eu o intrebare cum pui (A) in fata numleui dupa ce ii setezi admin samp si (H) dupa ce primeste helper

ex: am admin 7 si cand scriu in chat "(A) Venox: ...."'

ex: "(H) Venox: ...."'

Fi mai explicit, (A) si (H) vrei sa fie cand scri in chatul normal sau pe /a - /h sau unde mai exact ?

Daca vrei in chatul normal poti lua exemplul lui @BaFFyJunior

Ce inseamna cuvantul "Unic" este atunci cand Chestia / Obiectul / Idea / etc... nu exista in alta parte.

Copii, nu mai veniti cu vorbe de "Am gamemode unic", nu exista asa ceva, la ora actuala totul este pe net.

Aveti grija pe cine ajutati, majoritatea sunt caini.

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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.