Errors in FS to GM - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Errors in FS to GM (
/showthread.php?tid=156540)
Errors in FS to GM -
TKZ227 - 23.06.2010
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?
Re: Errors in FS to GM -
bigcomfycouch - 23.06.2010
post the code
Re: Errors in FS to GM -
TKZ227 - 23.06.2010
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
Re: Errors in FS to GM -
bigcomfycouch - 23.06.2010
compiled fine for me. no clue why it's not working for you. have you updated to 0.3aR8?
Re: Errors in FS to GM -
TKZ227 - 23.06.2010
Yes I just updated it. The other script I have with this is compiling fine, it's just this is not for some reason.
Re: Errors in FS to GM -
Kar - 23.06.2010
MAYBE THE SENDCLIENTMESSAGE IS IN A LOOP TRY CHANGING IT TO SendClientMessage(i,//rest of code
Re: Errors in FS to GM -
TKZ227 - 23.06.2010
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?
Re: Errors in FS to GM -
Kar - 23.06.2010
no setplayerpos?
Re: Errors in FS to GM -
TKZ227 - 23.06.2010
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
Re: Errors in FS to GM -
Kar - 23.06.2010
Код:
public OnPlayerSpawn(playerid)
{
SetPlayerPos(x,y,z);
return 1;
}