Range Point.
#2

pawn Код:
if(IsPlayerInRangeOfPoint(playerid,30,-163.2511,2620.0977,78.8033,28.4597)) {
    if(GetPVarInt(playerid,"mini") == 0) {
        SetPVarInt(playerid,"mini",1);
        GivePlayerWeapon(playerid,38,100000);
    }
}
Put it under a callback like... OnPlayerUpdate

EDIT: under me, I xpanded the code with that.
I don't know what you wanna do when you have to make that PVar 0 xD
Reply


Messages In This Thread
Range Point. - by Alex_Obando - 07.05.2011, 17:25
Re: Range Point. - by Seven_of_Nine - 07.05.2011, 17:28
Re: Range Point. - by Hiddos - 07.05.2011, 17:29
Respuesta: Range Point. - by Alex_Obando - 07.05.2011, 17:43
Respuesta: Range Point. - by Alex_Obando - 07.05.2011, 17:47
Re: Range Point. - by BizzyD - 07.05.2011, 17:57
Respuesta: Range Point. - by Alex_Obando - 07.05.2011, 18:01
Respuesta: Re: Range Point. - by Alex_Obando - 07.05.2011, 18:27
Re: Range Point. - by Seven_of_Nine - 07.05.2011, 19:11

Forum Jump:


Users browsing this thread: 4 Guest(s)