/buygarage spam
#5

Nevermind fixed it but

This spam too:

pawn Код:
CMD:entergarage(playerid, params[])
{
    for(new h = 0; h < sizeof(GarageInfo); h++)
    {
        if(IsPlayerInRangeOfPoint(playerid,2.0,GarageInfo[h][gExteriorX], GarageInfo[h][gExteriorY], GarageInfo[h][gExteriorZ]) )
        {
            if(GarageInfo[playerid][gOwned] == 1 )
            {
                SetPlayerPos(playerid,GarageInfo[h][gInteriorX],GarageInfo[h][gInteriorY],GarageInfo[h][gInteriorZ]);
                GameTextForPlayer(playerid, "~w~Welcome to your garage!", 5000, 3);
            }
            else
            {
                SendClientMessage(playerid, 0x33CCFFAA, "You don't have a garage.");
            }
        }
        else
        {
            SendClientMessage(playerid, 0x33CCFFAA, "You are not near to your garage to enter.");
        }
    }
    return 1;
}
Quote:

SendClientMessage(playerid, 0x33CCFFAA, "You are not near to your garage to enter.");

Reply


Messages In This Thread
/buygarage spam - by Jermi - 03.07.2013, 19:14
Re: /buygarage spam - by NeroX98 - 03.07.2013, 19:20
Re: /buygarage spam - by Jermi - 03.07.2013, 19:24
Re: /buygarage spam - by Zigonja - 03.07.2013, 19:37
Re: /buygarage spam - by Jermi - 03.07.2013, 19:39
Re: /buygarage spam - by Jermi - 03.07.2013, 19:49

Forum Jump:


Users browsing this thread: 1 Guest(s)