Errors in FS to GM
#1

So, I found an FS with Dialog register and log in and decided I would use it. I turned it into a GM, but for some reason now every line under OnDialogResponse that is a SendClientMessage gives me the error "Undefinded symbol playerid". Any ideas?
Reply
#2

post the code
Reply
#3

This is the whole OnDialogResponse (which includes my roleplay test I added in.) The errors are on the "SendClientMessage"'s as well as the "response" 's , and the "listitem" 's, and only under this section (OnDialogResponse).

http://pastebin.com/dgCgQnVf
Reply
#4

compiled fine for me. no clue why it's not working for you. have you updated to 0.3aR8?
Reply
#5

Yes I just updated it. The other script I have with this is compiling fine, it's just this is not for some reason.
Reply
#6

MAYBE THE SENDCLIENTMESSAGE IS IN A LOOP TRY CHANGING IT TO SendClientMessage(i,//rest of code
Reply
#7

Ok, I fixed this, but I have a new problem. For some reason, when I put the GM on my server and log in, it asks me to register and login and stuff, but then as soon as I log in, it just shows a view of the ocean and doesn't let me click spawn or anything. What did I fuck up?
Reply
#8

no setplayerpos?
Reply
#9

Quote:
Originally Posted by Kar
no setplayerpos?
What do you mean? I took everything from the FS and added it to a new.pwn, and I still can't see anything after I log in. No option to spawn, nothing.

Here's a pastebin of the whole script: http://pastebin.com/JSC1KD0c
Reply
#10

Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerPos(x,y,z);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)