[HELP] Adding to game
#3

thanks for the post sorry for the let reply but i have just got round to adding this and i get errors:

PHP код:
public OnPlayerDeath(playeridkilleridreason){
    
SendDeathMessage(killerid,playerid,reason);
}
    
SetPlayerWantedLevel(playerid0);
    
SetPlayerWantedLevel(killerid6);
     
GivePlayerMoney(killerid15000);
    
GivePlayerMoney(playerid, -5000);
    
SetPlayerColor(killerid0xD60000FF);
    
SetPlayerColor(playerid0xFFFFFFFF);
    
SetPlayerHealth(killerid100);
    
SetPlayerArmour(killerid100);
    
SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
    
SetPlayerScore(playerid,GetPlayerScore(playerid)-1);
    return 
1;

Error:
Код:
C:\Users\Unlimited DMers\Desktop\Fas FreeRoam\gamemodes\FasFR.pwn(114) : error 021: symbol already defined: "SetPlayerWantedLevel"
C:\Users\Unlimited DMers\Desktop\Fas FreeRoam\gamemodes\FasFR.pwn(124) : error 010: invalid function or declaration
C:\Users\Unlimited DMers\Desktop\Fas FreeRoam\gamemodes\FasFR.pwn(680) : warning 203: symbol is never used: "Server"
C:\Users\Unlimited DMers\Desktop\Fas FreeRoam\gamemodes\FasFR.pwn(680) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
never mind about the warnings
Reply


Messages In This Thread
[HELP] Adding to game - by DaRkAnGeL[NBK] - 06.10.2011, 21:21
Re: [HELP] Adding to game - by Babul - 06.10.2011, 22:00
Re: [HELP] Adding to game - by DaRkAnGeL[NBK] - 07.10.2011, 01:16
Re: [HELP] Adding to game - by Babul - 07.10.2011, 01:19
Re: [HELP] Adding to game - by DaRkAnGeL[NBK] - 07.10.2011, 01:23
Re: [HELP] Adding to game - by DaRkAnGeL[NBK] - 07.10.2011, 01:38
Re: [HELP] Adding to game - by GrimR - 07.10.2011, 01:57
Re: [HELP] Adding to game - by DaRkAnGeL[NBK] - 07.10.2011, 02:03
Re: [HELP] Adding to game - by DaRkAnGeL[NBK] - 07.10.2011, 02:12

Forum Jump:


Users browsing this thread: 6 Guest(s)