SA-MP Forums Archive
[HELP] Is it possible, how ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Is it possible, how ? (/showthread.php?tid=129327)



[HELP] Is it possible, how ? - addinol - 21.02.2010

Hey, i wan't to delete the dialogue box : "<<" ">>" "SPAWN" when player joins to my server, because there is a bug. is it possible to remove it?




Re: [HELP] Is it possible, how ? - Torran - 21.02.2010

I dont think so no


Re: [HELP] Is it possible, how ? - Rzzr - 21.02.2010

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
TogglePlayerSpectating(playerid, 1);
return 1;
}

public OnPlayerSpawn(playerid)
{
TogglePlayerSpectating(playerid, 0);
return 1;
}



Re: [HELP] Is it possible, how ? - Onyx09 - 21.02.2010

Код:
public OnPlayerConnect(playerid)
{
TogglePlayerSpectating(playerid, 1);
return 1;
}

public OnPlayerLogin(playerid,password[])
{
TogglePlayerSpectating(playerid, 0);
return 1;
}
as he shows int he picture the problem its at login so yeah i belive that will make it also if you have to change
if on player request class
remove everything on that public and use spawnplayer(playerid);




Re: [HELP] Is it possible, how ? - Rzzr - 21.02.2010

The login doesnt necessarily have to be under onplayerconnect...
The code I posted is right


Re: [HELP] Is it possible, how ? - Onyx09 - 21.02.2010

what he is trying to get rid off its the skin choser on player connect

that skin chose has nothing to do with the login dialog at all so yeah i belive the way i showed it will work

and if im wrong wich i think im not dont flame


Re: [HELP] Is it possible, how ? - addinol - 21.02.2010

yes it works, thanks !

Can you also help me in this thread ?
http://forum.sa-mp.com/index.php?topic=153985.0

The problem is, after registering and some minutes of playing, im trying to connect again and it says wrong password. The problem is not in encrypt i think ;/


Re: [HELP] Is it possible, how ? - Onyx09 - 21.02.2010

no problem


Re: [HELP] Is it possible, how ? - Rzzr - 21.02.2010

Quote:
Originally Posted by [GM
LeGenDy ]
what he is trying to get rid off its the skin choser on player connect

that skin chose has nothing to do with the login dialog at all so yeah i belive the way i showed it will work

and if im wrong wich i think im not dont flame
Actually, they will both work

Ontopic: Ima check out your other thread now