Jump to content
  • 0

Ajutati`ma va rog


Question

Posted

1. Deci am un server de samp RPG si as vrea sa colorez mesajele care le arata pe server .

Exemplu : Bine ati venit pe Aiurea RPG !

Exact cum am scris aici :) !

2. Am facut o Casa de donatori cu tot cu poarta si nu stiu sa`i fac comanda . Vrea ca , comanda sa mearga apasand tasta "H" , si sa o poate folosi dor cei din casele respective . Mentionez ca la Mapa facuta am 2 casa !

Y!M : [email protected] !! Cam aTaT !!

1 answer to this question

Recommended Posts

Posted

1.

[pawn]#define SCM                                    SendClientMessage

#define PARAMS                                playerid , 0xFFFFFFFF

SCM ( PARAMS , "Bine ati venit pe {FF0000}Aiurea RPG{FFFFFF}!" ) ;[/pawn]

2.

[pawn]#define PRESSED(%0) \

(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))

public OnPlayerKeyStateChange ( playerid , newkeys , oldkeys ) {

    if ( PRESSED ( KEY_HORN ) && IsPlayerInRangeOfPoint ( playerid , RANGE , X , Y , Z ) ) {

        // Codul pentru a misca poarta.

    }

    return (1) ; }

[/pawn]

Guest
This topic is now closed to further replies.
×
×
  • 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.