28.10.2013, 20:22
Hey Guys Check this out below on my login screen, At the bottom of the login screen it has the << >> Spawn dialog thingy. Well I need to remove that so what would be the quickest way ?! Thanks guys!!!
#define DIALOG_LOG 1
public OnPlayerConnect(playerid)
{
TogglePlayerSpectating(playerid, 1);
return true;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
switch(dialogid)
{
case DIALOG_LOG:
{
if(!response) return 1;
if(response)
{
TogglePlayerSpectating(playerid, 0);
SpawnPlayer(playerid);
SetSpawnInfo(playerid, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
//More Stuff
}
}
}
return true;
}