Problems with a combination of a loop and a string
#2

Quote:
Originally Posted by Colossus_
Посмотреть сообщение
Your using DIALOG_STYLE_LIST under OnPlayerSpawn this means they respond to the dialog by clicking on a list item when they spawn...Wheres the rest of the code. (Hint: OnDialogResponse)

Regardless that code needs a clean up badly (C# uses 4 spaces not 2 spaces) and how can you be getting the length of a string from the planes in the list all in that code? Im suprised it compiles.

Learn how to switch dialog and list item case's and use them.

www.wiki.sa-mp.com can be very useful..Use it as your scripting ******.
Thanks, I solved it, the code was right but the requires for calling it were false in every case because I didn't put a way to make "AereoDiLinea[playerid]" to 1 XD
Reply


Messages In This Thread
Problems with a combination of a loop and a string - by Sasino97 - 23.06.2011, 21:23
Re: Problems with a combination of a loop and a string - by Sasino97 - 25.06.2011, 19:44

Forum Jump:


Users browsing this thread: 2 Guest(s)