Iulian2 Posted March 8, 2019 Posted March 8, 2019 Am o problema vreau sa fac un semn ca o '' tabla'' si acolo sa scrie nu uitați de /Bonus
0 khain.dev Posted March 8, 2019 Posted March 8, 2019 Uite ceva mai nou,jucatorului o sa ii apara pe ecran acest scris,pentru acest frumos sistem ai nevoie sa descarci arhivul si sa instalezi totul,functia acestui sistem mai departe introduci tu. CMD:bonus(playerid) { static const str[] = "Buna, %s.\n{ffd200}Pentru a primi bonusul scrie /bonus"; new user[MAX_PLAYER_NAME], string[sizeof(str)+MAX_PLAYER_NAME+10]; GetPlayerName(playerid, user, sizeof(user)); format(string,sizeof(string), str,user); infoplayer(playerid, string); return 1; } forward infoplayer(playerid, const text_[]); public infoplayer(playerid,const text_[]) { if (GetPVarInt(playerid, #text)) { DestroyDynamicObject(GetPVarInt(playerid, #object_air)); KillTimer(GetPVarInt(playerid,#timer_air)); DeletePVar(playerid, #text); } else { SetPVarInt(playerid, #object_air, CreateDynamicObject(19477, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1, -1, playerid, 30.0)); SetDynamicObjectMaterialText(GetPVarInt(playerid, #object_air), 0, text_, 130, "Calibri", 24, 1, -1, 0, 1); AttachDynamicObjectToPlayer(GetPVarInt(playerid, #object_air),playerid, -1.206207, -0.181491, 0.820003, 0.000000, 0.899999, -79.600036); SetPVarInt(playerid, #text, 1); SetPVarInt(playerid,#timer_air, SetTimerEx("infoplayer",10000,false,"i",playerid)); } } YSF-R20-RC4.zip
Question
Iulian2
Am o problema vreau sa fac un semn ca o '' tabla'' si acolo sa scrie nu uitați de /Bonus
1 answer to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now