HELP Here !
#4

pawn Код:
CMD:robammu(playerid, params[])
{
    new skin = GetPlayerSkin(playerid); //Get player's skin (cops skins) https://sampwiki.blast.hk/wiki/Skins:All
    if(skin == 265 || skin == 266 || skin == 267 || skin == 284 || skin == 285 || skin == 286 || skin == 287 || skin 288) return 1; //cops
    if (Robammu[playerid] == 0 )
    if(IsPlayerInRangeOfPoint(playerid,2.0,1367.3114,-1280.8257,13.5469))
    {
    SendClientMessage(playerid, COLOR_GREEN, "Jus sakat aplaupit Ierocu veikalu!");
    Robammu[playerid] = 1;
    timer2 = SetTimerEx("RobAmmu", 10000, false, "i", playerid);
    SetTimerEx("after2", 50000, false, "i", playerid);
    SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid)+3);
    } else {
    SendClientMessage(playerid, COLOR_RED, "[ERROR:]Tagad tu nesi laupisanas zona!");
    }
    return 1;
}
Do the same for the rest of your robbing command.
Reply


Messages In This Thread
HELP Here ! - by edzuss99 - 27.09.2012, 16:14
Re: HELP Here ! - by Danyal - 27.09.2012, 16:26
Re: HELP Here ! - by .v - 27.09.2012, 16:27
Re: HELP Here ! - by newbienoob - 27.09.2012, 16:36
Re: HELP Here ! - by Glint - 27.09.2012, 17:04

Forum Jump:


Users browsing this thread: 1 Guest(s)