15.09.2012, 15:00
Quote:
What a problem?
Code:
if (strcmp("/stats", cmdtext, true, 10) == 0) { new str[256], pName[24], IP[16]; new Money = GetPlayerMoney(playerid); PlayerNameGet(playerid, pName, 24); GetPlayerIp(playerid,IP,sizeof IP); format(str, 256, "--||========================================-|%s's Stats|-=======================================", pName); SendClientMessage(playerid,0xE8DBDB,str); format(str,128, ">"#COL_WHITE"%s: IP[%s] - Money[$%i] - Kills[%i] - Deaths[%i] - Admin[%i] - Skin[%i] - Score[%i] - Team[%i]",pName, IP, Money, PlayerInfo[playerid][pKills], PlayerInfo[playerid][pDeaths], PlayerInfo[playerid][pAdmin], GetPlayerSkin(playerid), PlayerInfo[playerid][pScore], PlayerInfo[playerid][pTeam]); SendClientMessage(playerid,0xE8DBDB,str); return 1; } Code:
C:\Documents and Settings\MarkHomo\My Documents\Downloads\Natan P\gamemodes\TDM.pwn(227) : error 017: undefined symbol "PlayerNameGet" C:\Documents and Settings\MarkHomo\My Documents\Downloads\Natan P\gamemodes\TDM.pwn(231) : error 017: undefined symbol "pScore" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors. |
And it is GetPlayerName not PlayerNameGet.