0 Members and 3 Guests are viewing this topic.
I think you recently passed your exams of matriculation or intermediate grade, with computer subjects.This type of plan had come to my mind when i passed these grades.
Quote from: Saim on May 08, 2018, 03:22:48 pmI think you recently passed your exams of matriculation or intermediate grade, with computer subjects.This type of plan had come to my mind when i passed these grades.Wow you are right.. yeah i have some spare time so i was thinking about it.
VCMP's forum is the place you are looking for, try for the help there.
You should ask @SuriAttacker regarding this.
Be clear i didnt understood your questionswhat you mean by if such a command missing?
Quote from: Hydra on May 09, 2018, 03:59:52 pmBe clear i didnt understood your questionswhat you mean by if such a command missing?I meant if running scripts show some type of syntax error then what is the error about if it is command missing , some other errors etc
if (cmd == "heal"){player.Health = 100;MessagePlayer("Healed",player);}}
Quote from: Stubborn on May 09, 2018, 07:01:39 pmQuote from: Hydra on May 09, 2018, 03:59:52 pmBe clear i didnt understood your questionswhat you mean by if such a command missing?I meant if running scripts show some type of syntax error then what is the error about if it is command missing , some other errors etcHey stub, if you do something wrong when you will try to start server you will get a error on console and error name will explain everything if not then try to use that command it will throw error and then fix itbut in vcmp mostly we dont get proper errors if got stucked somewhere and no error poping try to post on forum.vc-mp.orglikeCode: [Select]if (cmd == "heal"){player.Health = 100;MessagePlayer("Healed",player);}}if you use this code it will throw a error of expression expected when you start server because i added a extra bracket at end when u remove that bracket it will start workingAlso read this thread http://forum.vc-mp.org/?topic=3335.0
If you wanted to learn squirrel search on the google for some basic points of it and after that try scripting on your server try create a command by yourself if you get any errors vcmp's forum is always there to help you out in any situations and obserb the errors fixes on your mind, like Hydra explained, a example of error in command if you add more brackets than the limitations you'll get a same error "expression expected' if you don't add limited brackets or you didn't fullfill command's requirements it won't work properly and of course will encounter a error on the console which will be same "expression expected'. There are still many more things which you have to get into your mind. For that try hard until you get success. Hoping for the best. Good luck.