SA-MP Forums Archive
A Small TextDraw Prob. - 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: A Small TextDraw Prob. (/showthread.php?tid=528255)



A Small TextDraw Prob. - youssefehab500 - 27.07.2014

Solved.


Re: A Small TextDraw Prob. - DaTa[X] - 27.07.2014

use
pawn Код:
format(ping, sizeof(ping), "~y~Ping: ~g~%d - kills %d - death %d - admin %d ",GetPlayerPing(playerid));
in one textdraw


Re: A Small TextDraw Prob. - youssefehab500 - 27.07.2014

Quote:
Originally Posted by DaTa[X]
Посмотреть сообщение
use
pawn Код:
format(ping, sizeof(ping), "~y~Ping: ~g~%d - kills %d - death %d - admin %d ",GetPlayerPing(playerid));
in one textdraw
okay ty gonna test


Re: A Small TextDraw Prob. - youssefehab500 - 27.07.2014

Solved.


Re: A Small TextDraw Prob. - DaTa[X] - 27.07.2014

well ! first u need to use PlayerTextDraw not global textdraws


Re: A Small TextDraw Prob. - youssefehab500 - 27.07.2014

Quote:
Originally Posted by DaTa[X]
Посмотреть сообщение
well ! first u need to use PlayerTextDraw not global textdraws
Done i changed all to PlayerText and compiled and got no errors and good to go.. Tested same nth appears :/ wht else might it be?


Re: A Small TextDraw Prob. - rockhopper - 27.07.2014

Where Have you done TextDrawShowForPlayer ?
Edit Add them at last i mean after all creattextdraws and shadow etc At last of on player connect Or Show them in onplayerspawn


Re: A Small TextDraw Prob. - youssefehab500 - 27.07.2014

Quote:
Originally Posted by rockhopper
Посмотреть сообщение
Where Have you done TextDrawShowForPlayer ?
Edit Add them at last i mean after all creattextdraws and shadow etc At last of on player connect Or Show them in onplayerspawn
i have it under OnPlayerSpawn and tried to put it under OnPlayerConnect and same nth appear im trying every option and changing it but still if u got more ideas tell me


Re: A Small TextDraw Prob. - rockhopper - 27.07.2014

pawn Код:
Use TextDrawShowForPlayer(playerid,textdrawname);// DONT USE [playerid] Try



Re: A Small TextDraw Prob. - youssefehab500 - 27.07.2014

Quote:
Originally Posted by rockhopper
Посмотреть сообщение
pawn Код:
Use TextDrawShowForPlayer(playerid,textdrawname);// DONT USE [playerid] Try
hmmm now only shows the (Ping: my ping Kills: )and nth more other ideas bro?