Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Recommended Posts

Posted

Descriere tutorial: Pai am si eu un server si nu arata cine pe cine omoara adica Daca eu omor pe cineva sa ii arate EX: You Have Killed By ... 

Va rog ajutati-ma sunt nou.!!

Posted

Salut, acest lucru este destul de usor de facut.

Mai intai te duci la Callback-ul OnPlayerDeath :

 

OnPlayerDeath(playerid, killerid, reason)

{

new szString[128]; // Faci o variabila locala cu numele szString de tip string

format(szString, sizeof(szString), "Ai fost omorat de %s", killerid); // O formatezi, punandu-i un oarecare text, %s - este un specificator ce reprezinta string, //bineinteles va reprezenta variabila killerid, cea din dreapta^ .

SendClientMessage(playerid, -1, szString) // Transmiti mesajul cu o functie de transmitere text.

return 1; // Returnam valoarea 1

}

 

// Desenul meu animat 
// Alte episoade aici: 
https://www.youtube.com/channel/UCF2kY1CzhHI_PCyV5LprQ1w/videos

 

 

 

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.