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: Problem (
/showthread.php?tid=507531)
Problem -
DarkLored - 18.04.2014
When i set a string i can't find a way to change it
here is my code
pawn Код:
//this is the code of the registering where i first create the string
INI_WriteString(file,"Race","None");
pawn Код:
//here i am trying to change it via command
CMD:setvamp(playerid,params[])
{
pInfo[playerid][pRace] = "Vamp";
return 1;
}