15.08.2014, 20:38
Hello, so I making register/login system but I have somerproblems,
Can I write string into pInfo[playerid][country] ?
I want when somebody choose country from dialog to put name of county into variable but, i get error undefined symbol i also tried "America" but no(must be assigned to an array).
And when i open .ini file to write, example. Country = America
As you see Hrvatska is my string i want to put into variable
Can I write string into pInfo[playerid][country] ?
I want when somebody choose country from dialog to put name of county into variable but, i get error undefined symbol i also tried "America" but no(must be assigned to an array).
And when i open .ini file to write, example. Country = America
As you see Hrvatska is my string i want to put into variable
Код:
if(dialogid == DPORIJEKLO){
if(!response) return KickWithMessage(playerid, RED, "Morate izabrati drzavu iz koje dolazite kako biste se registrovali(Kickovani ste!)");
if(response){
if(listitem == 0){
pInfo[playerid][pPorijeklo] = Hrvatska;
PlayerTextDrawSetString(playerid, registracija[11][playerid], "Hrvatska");
}
}
}


