HELP ASAP PLEASE
#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


Messages In This Thread
HELP ASAP PLEASE - by Ananisiki - 25.02.2013, 18:22
Re: HELP ASAP PLEASE - by Blast3r - 25.02.2013, 18:24
Re: HELP ASAP PLEASE - by Ananisiki - 25.02.2013, 18:38
Re: HELP ASAP PLEASE - by Ananisiki - 25.02.2013, 18:40
Re: HELP ASAP PLEASE - by Ananisiki - 25.02.2013, 22:26
Re: HELP ASAP PLEASE - by Blaeks - 25.02.2013, 22:30
Re: HELP ASAP PLEASE - by Ananisiki - 25.02.2013, 22:32
Re: HELP ASAP PLEASE - by Blaeks - 25.02.2013, 22:37

Forum Jump:


Users browsing this thread: 1 Guest(s)