SA-MP Forums Archive
FIXED:problem with original script. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: FIXED:problem with original script. (/showthread.php?tid=185671)



FIXED:problem with original script. - selten98 - 25.10.2010

i have a problem with this:
pawn Код:
if(udb_Exists(PlayerName(playerid)) && PLAYERLIST_authed[playerid])
the error:
C:\Users\Fam Selten\Documents\Mark\tom test server\gamemodes\TESTING.pwn(6142) : error 035: argument type mismatch (argument 1)

the stuff for PlayerName:
pawn Код:
stock PlayerName(playerid) {
  new mname[MAX_PLAYER_NAME];
  GetPlayerName(playerid, mname, MAX_PLAYER_NAME);
  return mname;
}
FIXED