Textdraw shows for everyone?....
#7

First the Textdraw isn't shown when you get your Driving License:
Change this line:
pawn Код:
TextDrawHideForPlayer(playerid, nowhavelic);
To this:
pawn Код:
TextDrawShowForPlayer(playerid, nowhavelic);
Then you need to get the ID in your public function so like this:
pawn Код:
forward nowhavelic2(playerid);
public nowhavelic2(playerid)
{
     if(IsPlayerConnected(playerid))
     {
         TextDrawHideForPlayer(playerid, nowhavelic);
     }
     return 1;
}
Now we need to send the player ID in the timer like this:
pawn Код:
SetTimerEx("nowhavelic2",3000,false, "i", playerid);
Hope it works!
Reply


Messages In This Thread
Textdraw shows for everyone?.... - by bartje01 - 30.08.2010, 14:09
Re: Textdraw shows for everyone?.... - by CyNiC - 30.08.2010, 14:14
Re: Textdraw shows for everyone?.... - by bartje01 - 30.08.2010, 16:37
Re: Textdraw shows for everyone?.... - by bartje01 - 30.08.2010, 17:36
Re: Textdraw shows for everyone?.... - by CyNiC - 30.08.2010, 17:46
Re: Textdraw shows for everyone?.... - by bartje01 - 30.08.2010, 17:57
Re: Textdraw shows for everyone?.... - by CAR - 30.08.2010, 18:32
Re: Textdraw shows for everyone?.... - by bartje01 - 30.08.2010, 19:35

Forum Jump:


Users browsing this thread: 1 Guest(s)