02.08.2011, 13:48
can i make like this : if(IsAtClothShop(playerid)) in ammunation ? like if(IsAtAmmunation(playerid)) or something like that
forward IsAtClothShop(playerid);
public IsAtClothShop(playerid) {
if(IsPlayerInArea(playerid, Float:minx, Float:maxx, Float:miny, Float:maxy) { // Replace minx,y & maxx,y with the interior coords you got.
return 1;
} else {
return 0;
}
}