Gang Zone
#1

Hey all.

PWN:

Код:
#include <a_samp>
#pragma tabsize 0

#define COLOR_RED 0xFF3333AA

new area;

public OnFilterScriptInit()
{
    area = GangZoneCreate(242.2956,1794.4650,253.8913,1803.5831);

	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}

public OnPlayerConnect(playerid)
{
	GangZoneShowForPlayer(playerid,area,COLOR_RED);
	return 1;
}
How I do that function if player write a command in the area , the command won't work ?
Thanks.
Reply
#2

What command are you talking about?

Explain! because in your PAWNO code I don't see a cmd!

Also use PAWN /PAWN to show PAWNO codes!

Kind regards!
Reply
#3

Yes. In the PWN code isn't any command , because I don't know how do it.
I would like that command "/warps" didn't worked in the area.
Reply
#4

pawn Код:
checkcmdposition:warp(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 4.0, -1484.2582, 2653.3225, 55.8359))
    {
       
        {
            SendClientMessage(playerid, COLOR_GREEN, "You can checkcmdposition in this position");
        }
    }
    else
    {
        SendClientMessage(playerid, COLOR_GREEN, "You can't checkcmdposition on this position");
    }
    return 1;
}
This is an example.....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)