Text on entering area
#1

How can i do this? When a players enters certain area , with boundaries on 4 sides and a text display saying the custom area name, Like if we go to san fierro , in single players by default a text appears how can i do that
Reply
#2

Код:
public OnGameModeInit()
{
    EnableZoneNames(1);
    return 1;
}
Is that what your after ?

Sozz. Did'nt know function was removed. My bad.
Reply
#3

No not actuallY, I meant that, how can i create my custom area names?
Reply
#4

First you'll have to create the area's, then gametext or textdraw for player when he enters the area.
Simple.
Reply
#5

Whats the line to create an area and whats the function is there any like onplayerenterarea or somethign?
Reply
#6

I use incognitos streamer for my area's. The callback is:

Код:
public OnPlayerEnterDynamicArea(playerid, areaid)
Streamer is located at:

https://sampforum.blast.hk/showthread.php?tid=102865
Reply
#7

EnableZoneNames(); was removed according to the wiki. You could use incognito's streamer plugin for the areas it has callbacks for when you enter/leave an area.

EDIT: Too late.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)