so im trying to just randomly make some plugins, and see if im able to make it or if i end up not being able to.
the only things i know of javascript is the random things i figure out while looking at other plugins.
so i tried to make a /ping command, but i ended up seeying this Player.Ping:int, and using var ping = Player.Ping , clearly just gives me a undefined...
how could one make it so it would give a number?
also, a /pm command. function On_Command(Player, cmd, args), you have your command, then the args is the name of the player youd try to pm. so i have no idea what to do when i want to add their text to it...
also the wiper plugin isent working for me so id like some on Entity.UpdateHealth(), havent tried anything yet, but id like to just have a command to heal barricades and large/small spike walls...
the only things i know of javascript is the random things i figure out while looking at other plugins.
so i tried to make a /ping command, but i ended up seeying this Player.Ping:int, and using var ping = Player.Ping , clearly just gives me a undefined...
how could one make it so it would give a number?
also, a /pm command. function On_Command(Player, cmd, args), you have your command, then the args is the name of the player youd try to pm. so i have no idea what to do when i want to add their text to it...
also the wiper plugin isent working for me so id like some on Entity.UpdateHealth(), havent tried anything yet, but id like to just have a command to heal barricades and large/small spike walls...