Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: warny
1. [DM] XyzzyRP Warny
Witam, ot?? poszukuj? systemu dawania ostrze?e? z paczki XyzzyRP, je?li kto? wie gdzie ona si? znajduje lub ma link prosz? o podanie. daje piwo za najlepsze.
2. Warny
Skrypt zrobiony
3. Warny
Witam mam dzi? jeden problem z skryptem i prosz? o pomoc daje za to :piwo:

A wi?c tak chce zrobi? temu skryptowi


function shout(player, cmd, ...)
local accountname = getAccountName(getPlayerAccount(player))
if 
isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Admin" ))  then
for id, players in ipairs(getElementsByType("player")) do
local message = table.concat({...}," ")
local textDisplay = textCreateDisplay ()
local nombre = getPlayerName(player)
local textItem = textCreateTextItem ( "Otrzymujesz Ostrzezenie:"..message, 0.5, 0.5, 2, 205, 0, 0, 255, 3, "center", "center" ) 
textDisplayAddText ( textDisplay, textItem )
textDisplayAddObserver ( textDisplay, players )
setTimer ( textDestroyTextItem, 5000, 2, textItem )
setTimer ( textDestroyDisplay, 5000, 2, textDisplay )
end
else
outputChatBox("Nie Masz Praw",player,255,12,15)
    
end
end

addCommandHandler
("warn", shout)


chce zrobi? np ./warn (nick) powod i graczowi si? spisze powod na Ekranie do tego jeszcze chce tym kodem

local textItem = textCreateTextItem ( "Otrzymujesz Ostrzezenie:"..message, 0.5, 0.5, 2, 205, 0, 0, 255, 3, "center", "center" )


zrobi? tak aby gracz mia? czerwony ekran pomo?e kto?? dam za to nie jedno :piwo: mo?e 2 lub 3 :D
4. Warny
Witam.
Chce zrobi? system warn'?w graczy: /warn [nick gracza] [pow?d] i ?e tylko mo?e go admin wpisywa?. I je?li b?dzie gracz mia? 3 warny to dostaje bana.
Hmm chyba kto? mnie rozumie.
Jakich funkcji b?d? musia? u?y? do tego?
5. [DM] Warny MySQL
Witam,chcia?bym si? dowiedzie? jak zacz?? warny pod mysql chodzi o przechowywanie w bazie nicku i ilosci warn?w,czy m?g?by mi kto? pom?c to napisa? pod plugin strickenkida? Chocia? zacz?? potem to sobie poradz? jako?. Poleci piwko. :)
6. [INNE] Warny
Witam mam problem w GM ?e wyskakuj? mi takie warningi za ka?dy rozwi?zany daje Piwo :piwo:

Kod:

pawnoincludestrtok.inc(12) : error 021: symbol already defined: "strtok"
pawnoincludestrtok.inc(27) : error 047: array sizes do not match, or destination array is too small
: error 017: undefined symbol "strrest"
: error 033: array must be indexed (variable "String")
: error 017: undefined symbol "strrest"
: error 033: array must be indexed (variable "BReason")
: error 017: undefined symbol "strrest"
: error 033: array must be indexed (variable "Reason")
: warning 203: symbol is never used: "gActivePlayers"
: warning 203: symbol is never used: "gLastGaveCash"
: warning 203: symbol is never used: "gangBank"
: warning 203: symbol is never used: "gangInfo"
: warning 203: symbol is never used: "gangInvite"
: warning 203: symbol is never used: "gangMembers"
: warning 203: symbol is never used: "gangNames"
: warning 203: symbol is never used: "playerGang"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase