SA-MP Forums Archive
Zones wont show - 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: Zones wont show (/showthread.php?tid=630708)



Zones wont show - LStrike17 - 17.03.2017

When i spawn, zones doesn't want to show.. Check the code...

CODE:
http://pastebin.com/mUUnLiEq


Re: Zones wont show - fatlirmorina - 18.03.2017

Is this a gamemode or filterscript?

I'd recommend, use a_zones.inc, better.
https://github.com/AndreT/samp-vorte...de/a_zones.inc

Then update on your gamemode/filterscript Create3DZone(Whatever stock you create.)();


Re: Zones wont show - Sew_Sumi - 18.03.2017

Quote:
Originally Posted by fatlirmorina
Посмотреть сообщение
Is this a gamemode or filterscript?

I'd recommend, use a_zones.inc, better.
https://github.com/AndreT/samp-vorte...de/a_zones.inc

Then update on your gamemode/filterscript Create3DZone(Whatever stock you create.)();
Are you aware that what you've linked to doesn't do what the user is trying to do?

Not to mention that half the code that you've linked, is in the script he provided...


Re: Zones wont show - LStrike17 - 18.03.2017

Someone help?


Re: Zones wont show - LStrike17 - 19.03.2017

bbump


Re: Zones wont show - Mencent - 19.03.2017

Hello!

You have a mistake in your code:
PHP код:
forward ZTimer(playerid);
public 
ZTimer(playerid)
{
    new 
zone[MAX_ZONE_NAME], zstr[30];
    
GetPlayer2DZone(playeridzoneMAX_ZONE_NAME);
    
format(zstr,sizeof(zstr),"%s"zone);
    
TextDrawSetString(TDZonezstr);

You forgot the "%" in format.


Re: Zones wont show - LStrike17 - 19.03.2017

Thanks man