Jump to content

Recommended Posts

Posted

Acest tutorial este relativ simplu insă și folositor.

 

Dacă dorești de exemplu ca inloc să folosești

 

SendClientMessage(...); ===> SCM(..); 

 

Pur si simplu tot ce ai nevoie să faci este să adaugi in capul codului

 

#define Funcția NouaDefiniție

Exemplu

#define SendClientMessage SCM

 

O funcție folositoare ar fi dacă dorești inloc să numai stai când faci un public să scri

 

forward, public etc.

 

Adaugă acest define și când dorești să faci un public o să iți ușurezi munca garantat.

 

#define function%0(%1) forward%0(%1); public%0(%1)

Acum inloc de 

forward Publicul(playerid);
public Publicul(playerid)
{

}

O sa faci:

function Publicul(playerid)
{
 //Voala.
}

 

  • Upvote 1

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.