Jump to content

Cerere tutorial


Recommended Posts

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: 




Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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