Zones shown in textdraw
#1

Im trying to get zones to be shown in a textdraw located in the corner of the screen but i can't get pass the errors.

Код:
	TextDrawShowForPlayer(playerid, Rules);
	new string[200], zone[MAX_ZONE_NAME];
 	GetPlayerName(playerid, string, MAX_PLAYER_NAME);
  	GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
 	Zone = TextDrawCreate(487.000000, 4.000000, "%s",zone);
Error: :
Код:
warning 202: number of arguments does not match definition
Which is line:
Код:
Zone = TextDrawCreate(487.000000, 4.000000, "%s",zone);
[/CODE]
I'm trying loads of stuff, include i'm using is: https://sampforum.blast.hk/showthread.php?tid=27598 ([INC] Zones By ~Cueball~ - V 2.0)

Appreciate help, new to scripting.
Reply


Messages In This Thread
Zones shown in textdraw - by Ukko - 25.06.2012, 15:01
Re: Zones shown in textdraw - by Littlehelper - 25.06.2012, 15:04
Re: Zones shown in textdraw - by Ukko - 25.06.2012, 15:37
Re: Zones shown in textdraw - by Hawky133 - 25.06.2012, 16:57

Forum Jump:


Users browsing this thread: 2 Guest(s)