Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Zone_Killer

#1
Client Scripting / GUI Editbox error
Dec 09, 2017, 02:38 PM
function GUI::ElementRelease(element, mouseX, mouseY)
{
try{
if(element == Button)
{
local Data = Stream();
Data.WriteString(Editbox.Text);
Data.WriteInt(3);
Server.SendData(Data);
}
}
catch(e) Console.Print("Error "+e+".");
}

Editbox <- GUIEditbox(VectorScreen( 50, 50), VectorScreen(100, 50 ), Colour(255,255,255,190))
 Button <- GUIButton( VectorScreen( 50, 50), VectorScreen(20,10 ), Colour(0,255,255,190), "button");

but when i click on 'Button' So it comes "Index 'Editbox' does not exists.
please help me.
#2
Add Object Command:
if(cmd == "createobject") {CreateObject( 500, 1, Vector( player.Pos.x, player.Pos.y, player.Pos.z), 255 ).RotateByEuler( Vector( 3.14159, 3.14159, 0.618407), 0); }
but i want When i use /createobject command so player angle automatically set to object angle

player.Angle = object.RotationEuler;
but its not working

Sorry For My Bad English :(


#3
guyz i have create this 8) 8) 8)
::Scroll <- GUIScrollbar(VectorScreen(470,350), VectorScreen(15, 200), Colour(220, 218, 65, 230), GUI_FLAG_SCROLLABLE)  
but i don't know how to scroll the text with it.... please help :-\ :-\ :-\ :-\
#4
hello.... I have created a GUIEditbox but i don't know how to send GUIEditbox text to server
i tried GUI::InputReturn(editbox) but i don't know how to use it... please help
Sorry for my bad english :'( :'(
#5
Servers / Dark-City Server
Apr 27, 2017, 11:05 AM
Server name :(0.4) Dark-City Server [EMKS-Hosting]
Server ip : 35.166.13.206:5195
Hosted By : EMKS-Host
Server forum : comming Soon
Credits : K.D.M & Zone_Killer(Me)
Server irc :Coming Soon
Server Developers : K.D.M & Nitro
Server Mode : DM
Server Commands
register, login, logout, wep, spawnwep, loc, spawnloc, lastpos
saveloc, gotoloc, goto, nogoto, heal, hp arm, ping, fps
spawncar, spree, myspree, deposit, withdraw, cash, bank, givecash
stats, script, credits
#6
How I Can Make  Gangs territorys Like San Andreas :
#7
i made this function but its not working please help.

function onPlayerKill( killer, player, reason, bodypart )
{
IncCash( killer ); random (10000,50000);
}
#8
Hello guyz, I how i can make a function after every 10 Minutes Change Player Pos and World
Sorry for bad english