Jump to content
  • 0

Problema nu arata numele la orice comanda.


Question

Posted

https://imgur.com/a/YcYUYBz

 Am tot despre nume doar cand fac ceva nu mi-l arata e posibil a fi sters eu ceva va rog sa ma ajutati cei care stiu!

9 answers to this question

Recommended Posts

  • 0
Posted

Verifică stock-ul GetName(playerid), de acolo cred că este o eroare. 
Sau verifică să nu fie o problemă la formatarea textului, nu prea îmi pot da seama unde e greșeala, atâta timp cât nu văd comanda.

  • 0
Posted
Acum 1 oră, RaiNHYENA a spus:

Verifică stock-ul GetName(playerid), de acolo cred că este o eroare. 
Sau verifică să nu fie o problemă la formatarea textului, nu prea îmi pot da seama unde e greșeala, atâta timp cât nu văd comanda.

la toate comenzile face asa nu doar la aia

  • 0
Posted
stock GetName(playerid) {
    new pName[180];
	format(pName, 256, PlayerInfo[playerid][pUsername]);
	if(GetPVarInt(playerid, "Cover") == 1) format(pName, 256, GetNameEx(playerid));
    return pName;
}

 

  • 0
Posted
Acum 2 ore, DrooM. a spus:

Pai da-ne comanda

nu e doar la /a la fiecare comanda e problema, cred ca este ceva de la functia getname

  • 0
Posted

Hm, ia incearca asa 

 

stock GetName(playerid)
{
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    return name;
}

  • 0
Posted

Fai la login , numele din baza de date sa fie o variabila pName sau pServerName si cand pui %s , scri PlayerInfo[playerid][pName] si aia e :)

  • 0
Posted
La 21.06.2018 la 17:20, Yamato a spus:

Fai la login , numele din baza de date sa fie o variabila pName sau pServerName si cand pui %s , scri PlayerInfo[playerid][pName] si aia e :)

da-mi te rog codu ca nush ce zici

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.