MatXpl
Members-
Posts
180 -
Joined
-
Last visited
Everything posted by MatXpl
-
Hello! I have event onMapStop and how can i run map voting by votemanager for current started gamemode?
-
M&M Gaming Zapraszamy na naszą sieć serwerów MTA! Na razie mamy 3 serwery (wszystkie w budowie) -RPG -DM/DD -Mini-Wars (nowy gamemode, w stylu stealth) Zapraszamy na naszą strone, możecie śledzić progress Później podam więcej info http://mmg.xn.pl/
-
its from Solidsnake14 code if think that if ( msgType == ) then is wrong you need to use if ( msgType == 0 ) then
-
Its bugs of other code in this resource.. find 156 line in server script in new topic and in client.lua you need to delete guiWindowSetSizable()
-
but if (Team) then outputChatBox ( "["..Team.."]"..Tag..": "..msg, getRootElement(), 255, 0, 0, true ) else outputChatBox ( "[Prestege]"..Tag..": "..msg, getRootElement(), 255, 0, 0, true ) end
-
lol team tag msg is not strings! outputChatBox ( "["..Team.."]"..Tag..": "..msg, getRootElement(), 255, 0, 0, true ) try this ;d
-
https://wiki.multitheftauto.com/wiki/DbConnect https://wiki.multitheftauto.com/wiki/Mod ... ql_connect this when resource start ?
-
https://wiki.multitheftauto.com/wiki/OnPlayerChat https://wiki.multitheftauto.com/wiki/CancelEvent https://wiki.multitheftauto.com/wiki/GetPlayerTeam https://wiki.multitheftauto.com/wiki/Get ... ametagText and to compile this https://wiki.multitheftauto.com/wiki/OutputChatBox outputChatBox ("["..team.."]"..nick..": "..msg,getRootElement() )
-
in chat only ? or in game ?
-
you forgot to close 'function' and add event, name function, and get resource function mapStart (startedResource) if getResourceInfo ( startedResource, "type" ) == "map" then setSkyGradient(0,0,0,0,0,0) end end addEventHandler("onResourceStart",getRootElement(),mapStart)
-
ohhh, ok and how to connect with my sql server?
-
thanks! is working that it not allows the player to vote for the same map twice ? (check)
-
map = resource I'd do it like this https://wiki.multitheftauto.com/wiki/GetResourceInfo if getResourceInfo ( startedResource, "type" ) == "map" then setSkyGradient(0,0,0,0,0,0) end
-
you dont need client you dont have a event to trigger you can use function () setSkyGradient(0,0,0,0,0,0) end with https://wiki.multitheftauto.com/wiki/OnResourceStart SERVER-SIDE
-
can you give me a simple example ?
-
it should working but show client-side
-
yes, but you can use https://wiki.multitheftauto.com/wiki/GetAccount
-
ok, im going to write this function vote(p,command,vote) local nick = getPlayerNametagText(p) executeSQLQuery("CREATE TABLE IF NOT EXISTS votes (nick TEXT, vote TEXT)") end addCommandHandler("vote",vote) it should looks like that ?
-
if debug dosnt show bugs, its good try /debugscript 3 its custom event he post this resource (client and server) a few minutes ago
-
Solidsnake14 have right you should use https://wiki.multitheftauto.com/wiki/GetPlayerAccount
-
it should working have you another code in this script ?
-
use addEventHandler("onVehicleStartEnter", getRootElement(), if it dosnt work, sumbit a debug
-
how can i make script to judge maps ? ;D How to save this ? (best method)
-
try upload new race gamemode ?
