SA-MP Forums Archive
What is wrong with this code - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: What is wrong with this code (/showthread.php?tid=361771)



What is wrong with this code - Mr.1337 - 22.07.2012

pawn Код:
if(dialogid == 62)
        {
          if(response)
          {
            if(listitem == 0)
            {
               SetPlayerPos(playerid, 665.8990,-623.3339,16.3359);
            }
        }
    }
    return 1;
}
its under OnDialogResponse and dialog id 62 is defined


Re: What is wrong with this code - Rudy_ - 22.07.2012

And what is wrong with it?
it dosen't teleports or what?


Re: What is wrong with this code - Mr.1337 - 22.07.2012

i get 25 warnings and 9 errors..


Re: What is wrong with this code - Rudy_ - 22.07.2012

Mind showing them?
With the lines of errors / tell which line


Re: What is wrong with this code - Kaperstone - 22.07.2012

-deleted-


Re: What is wrong with this code - Mr.1337 - 22.07.2012

i get errors not even related to these lines..

when i remove these lines, i get no warnings no errors


Re: What is wrong with this code - JaKe Elite - 22.07.2012

I'm sure the warning is loose indention.
because your code indention is bad.


Re: What is wrong with this code - Rudy_ - 22.07.2012

Actually i can't help you without the errors and some more info.
That's sick


Re: What is wrong with this code - [MM]RoXoR[FS] - 22.07.2012

Quote:
Originally Posted by Rudy_
Посмотреть сообщение
Actually i can't help you without the errors and some more info.
That's sick
I agree,

Post your error's and code.