11.04.2017, 04:54
will try to do your way, however if I use this:
and try with this:
it says "1" and nothing else, soo I used PVars in wrong way (still learning about PVars) or something is wrong at dialogs phase where I'm trying to save to PVar.
Код:
new charname[128];
format(charname,sizeof(charname),"%s",inputtext);
SetPVarString(playerid,"CharName",charname);
Код:
CMD:test(playerid, params[])
{
new msg[28];
format(msg, sizeof(msg),"%s",GetPVarString(playerid,"CharName",msg, sizeof(msg)));
SendClientMessage(playerid,-1,msg);
return 1;
}

