[Pomoc] Wanted /pee

Započeo Diablosink
23. Sep. 2012. Zaključano
365
pregleda
5
postova
Diablosink
3
Hustler
23. Sep. 2012.
Skripta koju koristim: Moja
Detaljan opis problema: Kako da namestim da neko ako koristi cmd /pee a nije u javnom wc-u da dobije wanted?
Dio skripte: //
Deleted User
Obrisan korisnik
23. Sep. 2012.
Uzmi poziciju sa javnog WC-a, daj mi je ovamo i komandu /pee.
Diablosink
3
Hustler
23. Sep. 2012.
evo pozicija otprilike 1218.2566,-1415.1025,13.3589
i komanda /pee
if(strcmp(cmdtext, "/pee", true) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid, 3, 1225.9094,-1427.5726,13.4373) || IsPlayerInRangeOfPoint(playerid, 3, 1223.0972,-1427.5710,13.3995) || IsPlayerInRangeOfPoint(playerid, 3, 1220.7281,-1427.1439,13.3611) || IsPlayerInRangeOfPoint(playerid, 3, 1217.7255,-1427.4727,13.3828) || IsPlayerInRangeOfPoint(playerid, 3, 1215.0511,-1427.4727,13.3828))
    {
    SendClientMessage(playerid, COLOR_GREY, "Obavili ste nuzdu. (+15HP)!");
    new Float:health;
    GetPlayerHealth( playerid, health );
    SetPlayerHealth(playerid, health + 15);
    PlayerInfo = 0;
    }
    return 1;
    }
Deleted User
Obrisan korisnik
23. Sep. 2012.
if(strcmp(cmdtext, "/pee", true) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid, 3, 1225.9094,-1427.5726,13.4373) || IsPlayerInRangeOfPoint(playerid, 3, 1223.0972,-1427.5710,13.3995) || IsPlayerInRangeOfPoint(playerid, 3, 1220.7281,-1427.1439,13.3611) || IsPlayerInRangeOfPoint(playerid, 3, 1217.7255,-1427.4727,13.3828) || IsPlayerInRangeOfPoint(playerid, 3, 1215.0511,-1427.4727,13.3828))
    {
    SendClientMessage(playerid, COLOR_GREY, "Obavili ste nuzdu. (+15HP)!");
    new Float:health;
    GetPlayerHealth( playerid, health );
    SetPlayerHealth(playerid, health + 15);
    PlayerInfo = 0;
    }
    else
    {
SendClientMessage(playerid, COLOR_GREY, "Izvrsili ste nuzdu na javnom mjestu, neko vas je prijavio.");
new wantedlevel = GetPlayerWantedLevel(playerid);
SetPlayerWantedLevel(playerid, wantedlevel+1);
}
    return 1;
    }
Diablosink
3
Hustler
23. Sep. 2012.
tnx 😄

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha