[Pomoc] oko biza

Započeo Albatraoz
30. Sep. 2012. Zaključano
194
pregleda
2
postova
Compaq
3
Hustler
30. Sep. 2012.
Skripta koju koristim: //
Detaljan opis problema: radim biz sistem po tutu sa SAMP foruma pa mi je nesto zapelo ako moze pomoc 😎
Dio skripte: //
Neke slike/video za lakse dobivanje pomoci(neobavezno): //

komanda gdje su errori

YCMD:lockbiz(playerid, params[])
{
    new id = IsPlayerNearBizEnt(playerid);//Uses the function to find if player is near a biz!
    if(id(playerid) != pInfo) return SCM(playerid, COLOR_GREY, "This isn't your biz!");
    if(BusinessInfo == 1)
else
SCM(playerid, COLOR_GREY, "This isn't your biz!");
    if(BusinessInfo == 1)
    {
        BusinessInfo = 0;
        GameTextForPlayer(playerid, "Biz ~g~unlocked!", 3000, 3);
    }
    else
    {
        BusinessInfo = 1;
        GameTextForPlayer(playerid, "Biz ~r~locked!", 3000, 3);
    }
    return 1;
}


errori

(1181):  error 012: invalid function call, not a valid address
(1181) : warning 215: expression has no effect
(1181) : error 001: expected token: ";", but found ")"
(1181) : error 029: invalid expression, assumed zero
(1181) : fatal error 107: too many error messages on line


red 1181
if(id(playerid) != pInfo) return SCM(playerid, COLOR_GREY, "This isn't your biz!");


unaprijed hvala 🙂
danijel123
5
Kingpin
30. Sep. 2012.
Probaj ovako
if(id(playerid) != PlayerInfo) return SCM(playerid, COLOR_GREY, "This isn't your biz!");

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha