Jump to content

[Tutorial Scripting] Culori PAWNO


KruZZel
 Share

Recommended Posts

Deoarece Shad0w a zis ca nu arata ce face, m-am gandit sa ma apuc de o serie de tutoriale de scripting pentru incepatori. Acesta este primul tutorial, voi reveni cu multe mult mai complicate.

Sunt acele culori care de exeplu se pun intr-un dialog sau culori pawno

 

Culori:

 

{FFFFFF} - alb

{FFFF00} - galben

{FF66FF} - roz

{FFCC00}- portocaliu

{99FFFF} - albastru deschis

{99FFCC} - verde inchis

{66FF00} - verde deschis

{FF0000} - rosu

{9966FF} - mov

{0049FF}- albastru inchis

{336699} - negru

 

Ce poti face cu aceste culori:

De exemlu poti sa il adaugi intr-un dialog:

Ex:

ShowPlayerDialog(playerid,rules2,DIALOG_STYLE_MSGBOX,"{FFFF00}Nu ai voie cu {FF0000}hack","Ok","");

 

Pe server va aparea asa:

Nu ai voie cu hack

 

Culori Pawno:

0xFFFFFFFF - alb

0xFFFF00FF - galben

0xFF9900FF - portocaliu

0xFF66FFFF - roz

0xFF0000FF - rosu

0x66FF00FF - verde deschis

0x66FF99FF - verde inchis

0x336699FF - negru

0x000099FF - albastru inchis

0x00FFFFFF - albastru deschis

 

Ce poti face cu aceste culori:

De exemlu la un SendClientMessage:

SendClientMessage(playerid, 0x000099FF,"Bun venit la drift!");

Pe server va aparea "Bun venit la drift!!"

 

Cum se pune:

Scrii sub #if defined FILTERSCRIPT

#define COLOR_CULOAREA codul pawno

Ex:

#define COLOR_ROSU 0xFF0000FF

Edited by KruZZ.Capone
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
  • 11 months later...

Join the conversation

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

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

 Share

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