30.06.2012, 00:50
Nice Tutorial dude
ShowPlayerDialog(playerid, DIALOG_SUCCESS_2, DIALOG_STYLE_MSGBOX,""COL_WHITE"",""COL_GREEN"you registered","ok","");
CMD:stats(playerid, params[])
{
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,COLOR_WHITE,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,COLOR_WHITE,str);
return 1;
}
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; }
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.
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. |
But expalin where do we need to place thus codes like for example: "Step V" WHERE?! i need this fast please hurry!
But expalin where do we need to place thus codes like for example: "Step V" WHERE?! i need this fast please hurry! But expalin where do we need to place thus codes like for example: "Step V" WHERE?! i need this fast please hurry! HELP FAST!!!!!! |
Why its do this?? Code: I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\pawno\include\YSI\internal\y_dohooks.inc(2566) : warning 235: public function lacks forward declaration (symbol "OnUnoccupiedVehicleUpdate") I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\pawno\include\YSI\internal\y_dohooks.inc(3426) : warning 235: public function lacks forward declaration (symbol "OnPlayerTakeDamage") I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\pawno\include\YSI\internal\y_dohooks.inc(3495) : warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamage") I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(781) : warning 217: loose indentation I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(781) : error 029: invalid expression, assumed zero I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(781) : error 004: function "S@@_OnPlayerEnterVehicle" is not implemented I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(786) : warning 225: unreachable code I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(786) : error 029: invalid expression, assumed zero I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(786) : error 004: function "S@@_OnPlayerExitVehicle" is not implemented I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(791) : warning 225: unreachable code I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(791) : error 029: invalid expression, assumed zero I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(791) : error 004: function "S@@_OnPlayerStateChange" is not implemented I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(796) : warning 225: unreachable code I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(796) : error 029: invalid expression, assumed zero I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(796) : error 004: function "S@@_OnPlayerEnterCheckpoint" is not implemented I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(801) : warning 225: unreachable code I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(801) : error 029: invalid expression, assumed zero I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(801) : error 004: function "S@@_OnPlayerLeaveCheckpoint" is not implemented I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(806) : warning 225: unreachable code I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(806) : error 029: invalid expression, assumed zero I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(806) : error 004: function "S@@_OnPlayerEnterRaceCheckpoint" is not implemented I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(811) : warning 225: unreachable code I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(811) : error 029: invalid expression, assumed zero I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(811) : error 004: function "S@@_OnPlayerLeaveRaceCheckpoint" is not implemented I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(816) : warning 225: unreachable code I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(816) : error 029: invalid expression, assumed zero I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(816) : error 004: function "S@@_OnRconCommand" is not implemented I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(821) : warning 225: unreachable code I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(821) : error 029: invalid expression, assumed zero I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(821) : error 004: function "S@@_OnPlayerRequestSpawn" is not implemented I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(826) : warning 225: unreachable code I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(826) : error 029: invalid expression, assumed zero I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(826) : error 004: function "S@@_OnObjectMoved" is not implemented I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(831) : warning 225: unreachable code I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(831) : error 029: invalid expression, assumed zero I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(831) : error 004: function "S@@_OnPlayerObjectMoved" is not implemented I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(836) : warning 225: unreachable code I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(836) : error 029: invalid expression, assumed zero I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(836) : error 004: function "S@@_OnPlayerPickUpPickup" is not implemented I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(841) : warning 225: unreachable code I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(841) : error 029: invalid expression, assumed zero I:\CokeTDM [0.3e]\Login and Register Sytem Y_INI\gamemodes\NpTDM.pwn(841) : error 004: function "S@@_OnVehicleMod" is not implemented Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.