After dialogs,player not spawning with Team system
#1

I am making a TDM script,I have my Login/Register system,I made Team/Class Selection through Dialogs (2 teams) and then a few msgbox dialogs after it,I have setup the spawn code and I know it is right cause it has worked before,but it just seems to not work now after new dialogs,to fix this I would need to be able to trust someone with seeing my code,using teamviewer or something.
Reply
#2

Is the dialog box are appearing continously? If yes, then Put your spawn codes in the last msg dialogbox that is appearing
example:-
under ondialogresponse

if(dialogid == lastdialogid)
{
spawncode(x,y,z);
}

is it help you?
If you can't understand it. Then post your codes then only i can help.
Reply
#3

Could you use T.V = Team Viewer
Reply
#4

Man, we are using this forums to help people for free in our spare time. You can either provide little bits of your code, or pay for offboard support. Simple as that
Reply
#5

Quote:
Originally Posted by Misiur
Посмотреть сообщение
Man, we are using this forums to help people for free in our spare time. You can either provide little bits of your code, or pay for offboard support. Simple as that
It's just alot of code,thats all,and I dont know what piece of code to upload,cause I havent got a clue what is wrong.
Reply
#6

post all the dialogbox and codes that are under the ondialogresponse and spawn codes
Reply
#7

*** CODE REMOVED ***
Reply
#8

ok now simply put your spawn coordinates to the last dialog box that is appearing(i am posting this post by mobile so i can't see your codes fully in code box)
Reply
#9

*** CODE REMOVED ***
Reply
#10

http://pastebin.com is good, there's also cool https://gist.github.com/, but [ pawn] should suffice in most cases.

There is no DIALOG_S2 handler, so when somebody logs in not a whole lot happens? Inside DIALOG_A_RULES there isn't anything about spawning player, put it there.

Read some more about https://sampwiki.blast.hk/wiki/Control_Structures#switch , also about https://sampwiki.blast.hk/wiki/Control_Structures#else , understanding them is step closer to clean, readable, bug-free code.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)