SA-MP Forums Archive
Gametext problem - 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)
+--- Thread: Gametext problem (/showthread.php?tid=633789)



Gametext problem - NealPeteros - 07.05.2017

PHP код:
GameTextForPlayer(playerid"~w~You entered a ~p~fishing boat~n~~w~Press ~b~~k~~TOGGLE_SUBMISSIONS~~w~ to begin ~b~fishing "90003); 
Shows only this




Re: Gametext problem - coool - 07.05.2017

I think the ' ~n~ ` is causing the problem


Re: Gametext problem - NealPeteros - 07.05.2017

Quote:
Originally Posted by coool
Посмотреть сообщение
I think the ' ~n~ ` is causing the problem
I see that. That's where it stopped. Problem is, what's wrong with it


Re: Gametext problem - LazzyBoy - 07.05.2017

im not sure if its ~n~ problem but have you tried to make it in a format then show in GameTex ?

Код:
new string[200];
forma(string,sizeof(string),"~w~You entered a ~p~fishing boat~n~~w~Press ~b~~k~~TOGGLE_SUBMISSIONS~~w~ to begin ~b~fishing ");
GameTextShowForPlayer(playerid,string,9000,3);



Re: Gametext problem - ShihabSoft - 07.05.2017

well, try adding more of this ~n~ new line thingy


Re: Gametext problem - ShihabSoft - 07.05.2017

And ~k~~TOGGLE_SUBMISSIONS~ seem to only work when the player is in a vehicle, not on foot.


Re: Gametext problem - NealPeteros - 07.05.2017

Quote:
Originally Posted by ShihabSoft
Посмотреть сообщение
well, try adding more of this ~n~ new line thingy
Quote:
Originally Posted by ShihabSoft
Посмотреть сообщение
And ~k~~TOGGLE_SUBMISSIONS~ seem to only work when the player is in a vehicle, not on foot.
Tried adding more ~n~, and it worked fine, but still doesn't show the main problem. And yeah, I used it on a vehicle.

Edit: Fixed, changed duration from 9000 to 4000