SA-MP Forums Archive
To check on what... - 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: To check on what... (/showthread.php?tid=282058)



To check on what... - Join7 - 09.09.2011

To check on what Entering [playerid] you are logged and compared it to appear Label (LS, SF, LV)

Create3DTextLabel("To check from which place you are logged (Entering [playerid] = 1)LS, SF, LV Local Place", 0x000000FF, X, Y, Z, 30.0, 1);

Код:
new Entering[MAX_PLAYERS];
...

/enter
Entering[playerid] = 1;
...

/exit
if(Entering[playerid] == 1)
{
...
}



Re: To check on what... - Davz*|*Criss - 09.09.2011

I can give you an example.

Under your login succesfull message.

Format the Create3DTextLabel
And saying in that 3dtext: Player: %s logged in here.


Re: To check on what... - Join7 - 09.09.2011

I have another in mind. When coming through Los Santos in the interior, inside Create3DtextLabel to write LS Local