Jump to content

Recommended Posts

Posted

[move]Tutorial

[/move]

Salut, am sa va arat cum sa prescurtati o funcite. Pot sa spun ca e pentru incepatori :)), dar este simplu..

Deci de ex sa zicem ca vrei sa prescurtezi functia " SendClientMessage ", atunci poti sa faci asa..

#define SCM SendClientMessage

SCM- prescurtarea funcitei(pui ce vrei)

SendClientMessage - functia

Asa poti sa faci si la PlayerToPoint..

#define PTP PlayerToPoint

Nu mai trebe sa scri "SendClientMessage" scri doar " SCM(playerid, 0xFFFFFF, "xxx"); "

Sau

if(PlayerToPoint(30.0, playerid,x,y,z)) ==> if(PTP(30.0,playerid, x,y,z))

Asa poti sa faci la mai multe functi..

Sper sa va ajute...

 

Guest PlayON
Posted

http://www.sa-mp.ro/forum/index.php/topic,6546.msg41344.html#msg41344

Posted

http://www.sa-mp.ro/forum/index.php/topic,6546.msg41344.html#msg41344

Exista deja un tutorial pentru aceasta si plus ca este foarte foarte simplu

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.