HELP ASAP PLEASE
#1

^^^^^^^^
Reply
#2

pawn Код:
public IntroRulesText(playerid)
{
    new rules[128]  
     format(rules, sizeof rules, "~r~NO ~w~Cheating.~n~~n~~r~NO ~w~NO Teaming.~n~~n~Do ~r~NOT    ~w~Abuse Commands.~n~~n~Always Respect Admins And Players.~n~~n~~r~NO ~w~DO NOT Teleport To Avoid Death.~n~~n~Drive properly.~n~~n~~r~NO ~w~Bug Exploiting.~n~~n~Do ~r~NOT ~w~Quit / Pause To Avoid.");
    introRules[playerid] = TextDrawCreate(320, 160, rules);
    TextDrawLetterSize(introRules[playerid], 0.9, 1.8);
    TextDrawTextSize(introRules[playerid], 440.0, 600.0);
    TextDrawAlignment(introRules[playerid], 2);
    TextDrawUseBox(introRules[playerid], true);
    TextDrawBoxColor(introRules[playerid], COLOR_BLACK);
    TextDrawSetShadow(introRules[playerid], 0);
    TextDrawFont(introRules[playerid], 1);
    TextDrawSetProportional(introRules[playerid], true);
}
Try that?
Reply
#3

^^^^^^^^
Reply
#4

^^^^^^^^
Reply
#5

^^^^^^^^
Reply
#6

display textdraw under onplayerconnect , and then a timer of 5 seconds display dialog logins

sory for bad english
Reply
#7

^^^^^^^^
Reply
#8

define that at first
Код:
#define ClearChat(%0) for(new i=0; i<20; i++) SendClientMessage(%0, -1, " ")
now create a callback
Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetSpawnInfo(playerid, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0); 
    SetTimerEx("login_dialog", 5000, 0, "i", playerid);
// here textdraw
    return 1;
}
and now public function
Код:
forward login_dialog(playerid);
public login_dialog(playerid)
{
    SetPlayerCameraPos(playerid, x, y, z);
    SetPlayerCameraLookAt(playerid, x, y, z);
    
    // Show dialogs etc. here
    
    ClearChat(playerid); // Custom macro to send some empty clientmessages
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)