Dialog Problem. - 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: Dialog Problem. (
/showthread.php?tid=347017)
Dialog Problem. -
Chenko - 31.05.2012
I am trying to make a car radio with a dialog and it doesn't want to work with me. Every other dialog I make works perfectly except for this one involving PlayAudioStreamForPlayer.
Here is the code for the OnPlayerDialogResponse:
Here are the error codes that pop out of nowhere only when this code is uncommented:
Код:
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(1700) : error 017: undefined symbol "IsPlayerConnectedEx"
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(2159) : error 017: undefined symbol "IsPlayerConnectedEx"
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(2455) : error 004: function "ResetPlayerWeaponsEx" is not implemented
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(2470) : error 004: function "ClearCriminalRecord" is not implemented
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(2786) : error 017: undefined symbol "IsPlayerConnectedEx"
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(3263) : error 017: undefined symbol "IsPlayerConnectedEx"
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(3918) : error 004: function "GroupMessage" is not implemented
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(4252) : error 017: undefined symbol "IsPlayerConnectedEx"
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(4265) : error 017: undefined symbol "SaveGroups"
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(4266) : error 017: undefined symbol "UpdateAnalysis"
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(4267) : error 017: undefined symbol "SaveJobs"
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(4268) : error 017: undefined symbol "SaveHouses"
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(4269) : error 017: undefined symbol "SaveBusinesses"
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(5550) : error 004: function "QuizText" is not implemented
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(5551) : error 004: function "QuizText" is not implemented
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(6187) : error 017: undefined symbol "IsPlayerConnectedEx"
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(6618) : error 004: function "NearByMessage" is not implemented
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(6625) : error 004: function "NearByMessage" is not implemented
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(6632) : error 004: function "NearByMessage" is not implemented
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(6639) : error 004: function "NearByMessage" is not implemented
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(6640) : error 004: function "ResetPlayerWeaponsEx" is not implemented
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(6647) : error 004: function "NearByMessage" is not implemented
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(6654) : error 004: function "NearByMessage" is not implemented
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(6813) : error 004: function "GivePlayerWeaponEx" is not implemented
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(6825) : error 004: function "GivePlayerWeaponEx" is not implemented
C:\Users\Sergey\Desktop\Wolfie Rp\gamemodes\VortexRoleplay.pwn(7229) : error 017: undefined symbol "IsPlayerConnectedEx"
If I simply comment the code all the errors go away and none of them have anything to do with this code.
Thanks.
Re: Dialog Problem. -
iGetty - 31.05.2012
You've missed a bracket.
{ or
}
Re: Dialog Problem. -
iFederal - 31.05.2012
You probably forgot a bracket.
Re: Dialog Problem. -
MP2 - 31.05.2012
You should also use defines for dialog IDs, so you don't get confused. Using raw/const (for lack of a better word) values will get frustrating believe me.
Re: Dialog Problem. -
Chenko - 31.05.2012
I am checking the code over and over again and I can't find a missing bracket. All of the brackets I have match up with another one. Is there anything else that could be a problem?