Jump to content

Tutorial Scripting SA:MP 2


Recommended Posts

Salutare buGGed! Revin cu un tutorial. Acesta consta in punerea nick-ului vostru sub minimap. Eu zic ca este foarte frumos si da o nuanta de originalitate.


Deci... sa incepem:

Deschidem GM-ul si:


1) Creeam linia:

new Text:Nume[MAX_PLAYERS];


2) Cauta in GM [Ctrl+F] linia :



3) Cautam linia  format(string, sizeof(string), "%s.ini", plname); si sub ea adaugam:


new pnamee[24];
GetPlayerName(playerid, pnamee, sizeof(pnamee));
Nume[playerid]= TextDrawCreate(28.000000,428.000000,pnamee);


4) Cautam linia: //OnPlayerDisconnect


5) Punem dupa aceasta linie urmatoarele: TextDrawDestroy(Nume[playerid]);


6) Asta e tot. :) Sper sa nu existe probleme. Pentru orice problema lasati un reply aici sau contact me on skype. Seara buna !


Unde va arata imaginile alea mici voi puneti [pl a ye ri d](legat). Imaginile sunt asa deaorece buGGed are sistemul de userbar cu [pla y e r = ID] si se face userbarul.

Edited by Allex.
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.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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

By using this site, you agree to our Terms of Use. 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.