[HELP] GameTextForPlayer - 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] GameTextForPlayer (
/showthread.php?tid=81297)
[HELP] GameTextForPlayer -
FreddeN - 09.06.2009
Hello.
This time I want a GameTextForPlayer text to show up at OnPlayerConnect, just before the skin selection.
I have added the line to OnPlayerConnect but, when I try, the text dissapears to fast and the skin selection pops up...
I want the text to be there atleast 5 seconds, then it should go to the skin selection.
Thanks
Re: [HELP] GameTextForPlayer -
Correlli - 09.06.2009
GameTextForPlayer(playerid, const string[], time, style);
1 second = 1000 miliseconds, so put 5000 for 5 seconds.
Re: [HELP] GameTextForPlayer -
FreddeN - 09.06.2009
Quote:
Originally Posted by Don Correlli
|
The text just stays in 2 seconds then it dissaperas and sends me to skin selection...
This is my line:
Код:
public OnPlayerConnect(playerid)
{
GameTextForPlayer(playerid,"The Streets of San Fierro",5000,3);
return 1;
}
Re: [HELP] GameTextForPlayer -
MPKaboose - 09.06.2009
do you have a GameText at onplayerrequestclass?
Re: [HELP] GameTextForPlayer -
FreddeN - 09.06.2009
Quote:
Originally Posted by xoɟɔıʇɔɹɐ
do you have a GameText at onplayerrequestclass?
|
Yes, I have it like this...
Код:
public OnPlayerRequestClass(playerid, classid)
{
Switch(classid)
{
case 0:
{
GameTextForPlayer(playerid,"San Fierro Rifa",3000,6);
{
SetPlayerPos(playerid,-2261.1143,1012.0626,83.6106);
SetPlayerCameraPos(playerid,-2261.1143,1016.7200,83.6334);
SetPlayerCameraLookAt(playerid,-2261.1143,1012.0626,83.6106);
SetPlayerFacingAngle(playerid,357.6576);
SetPlayerColor(playerid,0x0080C0FF);
}
}
}
return 1;
}
Re: [HELP] GameTextForPlayer -
MPKaboose - 09.06.2009
that gametext removes the old one thats the reason
Re: [HELP] GameTextForPlayer -
FreddeN - 09.06.2009
Quote:
Originally Posted by xoɟɔıʇɔɹɐ
that gametext removes the old one thats the reason
|
Hmm... ok, anythng I can do to fix it?
Re: [HELP] GameTextForPlayer -
MPKaboose - 09.06.2009
Quote:
Originally Posted by FreddeN
Quote:
Originally Posted by xoɟɔıʇɔɹɐ
that gametext removes the old one thats the reason
|
Hmm... ok, anythng I can do to fix it?
|
nope you can only show one gametext at a time
Re: [HELP] GameTextForPlayer -
FreddeN - 09.06.2009
Quote:
Originally Posted by xoɟɔıʇɔɹɐ
Quote:
Originally Posted by FreddeN
Quote:
Originally Posted by xoɟɔıʇɔɹɐ
that gametext removes the old one thats the reason
|
Hmm... ok, anythng I can do to fix it?
|
nope you can only show one gametext at a time
|
I've seen many servers on SA-MP that have GameText at the begining and skin selection...
Re: [HELP] GameTextForPlayer -
Marcel - 09.06.2009
Probably a GameText and a TextDraw.