[HELP]When you enter a gangzone how do i suppose to make a message pop up ?
#1

The title says it all!
Reply
#2

PHP код:
IsPlayerInArea(playeridFloat:MinXFloat:MinYFloat:MaxXFloat:MaxY)
{
    new 
Float:XFloat:YFloat:Z;

    
GetPlayerPos(playeridXYZ);
    if(
>= MinX && <= MaxX && >= MinY && <= MaxY) {
        return 
1;
    }
    return 
0;

I don't know who the credits goes to. And if you want a message to pop-up use this funtion at OnPlayerUpdate. Example: if(IsPlayerInArea(player, /*positions*/))
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)