Saveloc, set hp and set time scripts fix

Started by umar4911, Aug 11, 2017, 07:47 PM

Previous topic - Next topic

kennedyarz

function onPlayerCommand(player, command, arguments)
else if ( cmd == "settime" )

wtf? 

umar4911

Quote from: kennedyarz on Sep 17, 2017, 01:19 PMfunction onPlayerCommand(player, command, arguments)
else if ( cmd == "settime" )

wtf? 
xD
I also have this in my code:
local cmd, text;
cmd = command.tolower();
text = arguments;
I am gamer, programmer and hacker. Try to find me!
xD

umar4911

Quote from: Xmair on Sep 17, 2017, 12:51 PMJust read the error ONCE by yourself, if you still cannot understand it, please quit scripting.
xD I think that too. I am new in squirrel so I am facing these problems. Now please help me. I really cannot find the error. xD
I am gamer, programmer and hacker. Try to find me!
xD

Xmair

Expected "userdata" got "null". Tell me what is difficult in understanding this line.

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

umar4911

Quote from: Xmair on Sep 17, 2017, 03:25 PMExpected "userdata" got "null". Tell me what is difficult in understanding this line.
hmm.... What does it mean??
I am gamer, programmer and hacker. Try to find me!
xD

KAKAN

Quote from: umar4911 on Sep 17, 2017, 03:26 PM
Quote from: Xmair on Sep 17, 2017, 03:25 PMExpected "userdata" got "null". Tell me what is difficult in understanding this line.
hmm.... What does it mean??
it means it expected a userdata type, but got null.
oh no

!

Quote from: umar4911 on Sep 17, 2017, 03:26 PMhmm.... What does it mean??
The problem might be in the query or either you are messing wrong through locals.Post complete error for help.
No one can help you with this.Post LOCALS too
Quote from: umar4911 on Sep 17, 2017, 08:48 AM

Discord: zeus#5155