Saving inputtext from dialogs to string variable - 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: Saving inputtext from dialogs to string variable (
/showthread.php?tid=457656)
Saving inputtext from dialogs to string variable -
Alexis1999 - 12.08.2013
So I've been trying for like 30 minutes now to manage and save to a variable
PlayerData[playerid][Name] the inputtext from the dialog but when I try to define inputtext equal to PlayerData[playerid][Name] it returns either nothing either an integer. I've tried SetPVarString, strcat, format and even itself without convert fuctions but still didnt manage to get it right. Anyone has an idea on how to solve this
Re: Saving inputtext from dialogs to string variable -
Alexis1999 - 12.08.2013
O Nevermind found the solution.
Re: Saving inputtext from dialogs to string variable -
gtakillerIV - 12.08.2013
Would be great if you told others what you did. So when someone searches for this in the near future he'll see what you did.