01.05.2012, 09:44
Alright guys I need help I got this errors when I compiled but I got ZCMD include..
Here's the line
Код:
C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\FunWorld.pwn(385) : error 021: symbol already defined: "GivePlayerMoney" C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\FunWorld.pwn(389) : error 010: invalid function or declaration C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\FunWorld.pwn(392) : error 021: symbol already defined: "SetPlayerHealth" C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\FunWorld.pwn(396) : error 021: symbol already defined: "GivePlayerWeapon" C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\FunWorld.pwn(402) : error 010: invalid function or declaration C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\FunWorld.pwn(405) : error 021: symbol already defined: "GivePlayerWeapon" C:\Documents and Settings\allenloza\My Documents\Downloads\Compressed\samp03dsvr_R2_win32\gamemodes\FunWorld.pwn(407) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 7 Errors.
Код:
public OnPlayerCommandReceived(playerid, cmdtext[]) { return 1; } CMD:hesoyam(playerid,params[]); GivePlayerMoney(playerid, 25000); SetPlayerArmour(playerid, 100); SetPlayerHealth(playerid, 100); SendClientMessage(playerid, 0x7CFC00AA, "Cheat Activated!Have fun!"); return 1; CMD:baguvix(playerid,params[]); SetPlayerHealth(playerid, 200000000) SendClientMessage(playerid, 0x7CFC00AA, "Cheat Activated!Have fun!"); CMD:weaponset(playerid,params[]); GivePlayerWeapon(playerid, 24, 5000); GivePlayerWeapon(playerid, 27, 5000); GivePlayerWeapon(playerid, 31, 5000); GivePlayerWeapon(playerid, 33, 5000); GivePlayerWeapon(playerid, 29, 5000); SendClientMessage(playerid, 0x7CFC00AA, "Weapon set has been spawned!Have fun!"); return 1; CMD:minigun(playerid,params[]); GivePlayerWeapon(playerid, 34, 200000); SendClientMessage(playerid, 0x7CFC00AA, "Minigun has been spawned!Have fun!"); return 1;