04.04.2017, 15:00
Quote:
Thank you! So far, i understand, what's the Problem, but have no idea, what second should i compare with. I want, to compare inputtext, with the Online player name, and if found, open the Textdraw.
|
so we're going to replace
PHP код:
if(strcmp(inputtext, 0, true) // line 13227
PHP код:
new id = GetPlayerIdFromName(inputtext);
if(id != INVALID_PLAYER_ID)
http://forum.sa-mp.com/showpost.php?...61&postcount=2
then replace this:
PHP код:
new vardas[MAX_PLAYER_NAME], Pdb_ZP_name[41];
strmid(vardas,inputtext,0,MAX_PLAYER_NAME);
new id = GetPlayeridMid(vardas);
PHP код:
new Pdb_ZP_name[41];