what's wrong?
#1

pawn Код:
new old[256],yes[MAX_PLAYERS][256];
            GetPlayer2DZone(playerid,old,sizeof(old));
            if(strcmp(old, yes[playerid], true) != 0)
            {
                yes[playerid] = old;
                GameTextForPlayer(playerid,yes[playerid],2000,1);
            }
what's wrong? plz help me
Reply
#2

any idea? I though about replace the "true" with "false" but same, its not works, help me plz
Reply
#3

But where is the problem?
Reply
#4

salut, pe scurt functzia asta trebuie sa arate jucatorul unde se afla, dar ea nu functioneaza, ce sa fac?
its should show to player where is he, in that function I added if player change position ( location ) then the string its change to new string and then show player where is he with gametext
Reply
#5

dumb
Reply
#6

pawn Код:
new old[256],yes[MAX_PLAYERS][256];
GetPlayer2DZone(playerid,old,sizeof(old));
if(!strcmp(old, yes[playerid], true)) return 1;
format(yes[playerid],sizeof(yes[playerid]),"%s",old);
GameTextForPlayer(playerid,yes[playerid],2000,1);
the way you did yes = old might be the culprit.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)