How i create my own server?and How i do port forward from a TP-link router?
please help!
oh now port forwarding problem solve i did it but now its showing blank Blank vcmp:sever 64x like this you can see it on your vcmp master list but how to make it a full server ?
You need to do some stuff with the script to make it a 'full server'
I am trying my best but i am first time making script's but its replying failed loading.
Mashreq you can check my server please what is the problem with it join there i named it Rampage Killer's Death Match
The server contains no scripts, therefore it looks blank.
You can use the scripts which was released in the scripts showroom (http://forum.vc-mp.org/?board=11.0) have a look with it.
1st of all, you need to learn Squirrel, then you need to see the wiki for the available functions for a VCMP server.
Then try to script a server, if you get any error, you can post it on Squirrel Scripting section.
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fhttps%3A%2F%2Flh3.googleusercontent.com%2Fk7vzM-mZDZAsYzCVEFkSpIe2M8JXiTsYJsHtlRHS16SGwZwRZ0kIeCPm2Ti_qDg157kSKjmEw1mWgY5TWlxfMfh42nzpzSp6lxIbWHewm2PvdKxBAnSADqAiA_DyZFRhbp9kiw95nJ4T5SPM4LNvbddh0vFooQeIv1p3YxXsd9VRmdLckfv6pEa7H8FPZxB3KIMj9D65PfwbKy9XuoiUpTDqxKp1h0CX22aPN8jOygPuVRKr00NNe17h7zQ3xfrFA12Lqvzhzk5jedUWWuB22ONImBf8V3q2w52v9A5QwIxDvHqFNxrlmSMW1T5H7zMiCigvluQSFffnCqmqarObIDs-pTKXIfCKIADDpuoSthrGlvSN_1tVrOgoIf6_N_h8LfOkwd3KnUQTnSbKDhYKj2ugUZ5lcTkKlFlCEb5Z3aUHcyjJuSG5NMAtXeND1-UGZ6X-az2iOrBUapdBWVXQcQkoc-fYquxn9-SRKfsMGNMuERInwC-WaEFncCF0iKnh6pvmbR5U2QSilZW0rlZY__5SeZT7hGP5z-fY-JyWzi4%3Dw858-h643-no&hash=c15880e66f792275cd89803b63cde02bcc93b6dd)
I put this code but error showing "cmd"does not exist.
function onPlayerCommand( player, cmd, text )
if( cmd == "register" ){
if( !text ){
MessagePlayer( "Syntax Error!", player );
MessagePlayer( "Correct syntax: /register <password>", player );
}
else if( pstats[ player.ID ].Level != 0 )MessagePlayer( " This account is already Registered", player );
else if( pstats[ player.ID ].Logged == true ){
MessagePlayer( "You are already logged in.", player );
}
else{
pstats[ player.ID ].Register( player, text, sqliteDB );
}
}
I put many cmd's but i get same error "cmd" does not exist.
only these cmd's are working /heal,bring,goto.
Any solution?
You either have another onPlayerCommand or you if/else structure is wrong.
You missed a bracket after onPlayerCommand.. event
Try using this
function onPlayerCommand( player, cmd, text )
{
if( cmd == "register" ){
if( !text ){
MessagePlayer( "Syntax Error!", player );
MessagePlayer( "Correct syntax: /register <password>", player );
}
else if( pstats[ player.ID ].Level != 0 )MessagePlayer( " This account is already Registered", player );
else if( pstats[ player.ID ].Logged == true ){
MessagePlayer( "You are already logged in.", player );
}
else{
pstats[ player.ID ].Register( player, text, sqliteDB );
}
}
Not working !
Learn Squirrel Functions! You'll make a great server and put it on the Internet XD
Quote from: [F.B.I]RW on Jan 28, 2016, 04:27 AMLearn Squirrel Functions!...
You think that's all it takes?
Quote from: S.L.C on Jan 28, 2016, 06:28 AMQuote from: [F.B.I]RW on Jan 28, 2016, 04:27 AMLearn Squirrel Functions!...
You think that's all it takes?
All you need are
makeScript(),
fixBugs() and
startServer()
An error has occured: [ The index 'Brain' doesn't exists ]
;D
@Murdock
local Brain = html.get("http://www.finchdon.tk/store?item=brain&price=donation" (http://www.finchdon.tk/store?item=brain&price=donation));
Just tested my code and having a few problems with it.
An error has occurred: [Failed to find neuron connections]
An error has occurred: [Nerve depletion]
An error has occurred: [ADHD-1 overdose]
A fatal error has occurred: [Too many errors]
Exitting...