Help: is this right

Posts 1–6 of 6 · Page 1 of 1
Help: is this right
Code snippit [PHP]else if(vkupbutton&1) {
vkup+=500;
PushToConsole("CamMaxPosZOffset "+(int)vkup);
}else if(vkdownbutton&1) {
vkup+=-500;
PushToConsole("CamMaxPosZOffset "+(char)vkup);
}else if(vkleftbutton&1) {
vkleft+=-500;
PushToConsole("CamMaxPosXOffset "+(int)vkleft);
}else if(vkrightbutton&1) {
vkleft+=500;
PushToConsole("CamMaxPosXOffset "+(int)vkleft);
}else if(vktbutton&1) {
vkt+=500;
PushToConsole("DuckDownCamOffSet "+(int)vkt);
}else if(vkgbutton&1) {
vkt+=-500;
PushToConsole("DuckDownCamOffSet "+(int)vkt);
}[/PHP]
will "DuckDownCamOffSet "+(int)vkt add bot paramiters together. or will it change the value of the int.
Why are you asking if you actually coded this up you would know if it was right or not lolol
working on ghostmode I see, what interests me is why you have them all set to INT..but then you just have "PushToConsole("CamMaxPosZOffset "+(char)vkup); " that one as a char.
the problem ive got
for some reason "CamMaxPosZOffset "+(int)vkup is outputted as "Nable 0"
help. ive tried to convert the int but deosnt make a difference.
sprintfⓘ

This is a C++ learning experience.
HAHAHA LOL DADUMM02 "I'm Only 15 and i can code in PHP (Expert) & C++ (Learning)"

Thats not something especially I'm 16 and can code in VB, HTML(bit), Autoit, Python,C++(learning), Java(learning);;;; LOL

If u got one language u got it all!!!
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us