Need help with this
#1

So i made this for regular players:
PHP код:
dcmd_armme(playerid,params[])
{
    
#pragma unused params
    
if(IsRegularPlayer[playerid] != 1337)
    {
        
SendClientMessage(playerid,COLOR_GREY,"{FF0000}[ERROR]: {FFFFFF}You have recived M4A1,SPAS,Deagle.You have recived a health increse and armour.");
        return 
1;
    {
    
GivePlayerWeapon(playerid,24,9999);
    
GivePlayerWeapon(playerid,31,9999);
    
GivePlayerWeapon(playerid,27,9999);
    
SetPlayerHealth(playerid,150);
    
SetPlayerArmour(playerid,100);
    return 
1
When i try to compile it with gamemode this is what happens:
PHP код:
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2275) : error 017undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2278) : error 017undefined symbol "ShowLoginScreen"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2281) : error 017undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2284) : error 017undefined symbol "ShowRegisterScreen"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2319) : error 017undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2320) : error 017undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2321) : error 017undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2322) : error 017undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2323) : error 017undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2324) : error 017undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2325) : error 017undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2326) : error 017undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2327) : error 017undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2328) : error 017undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2329) : error 017undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2330) : error 017undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2331) : error 017undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2332) : error 017undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2333) : error 017undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2334) : error 017undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2338) : error 004: function "ResetVariables" is not implemented
C
:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2347) : error 004: function "RemoveRoadblock" is not implemented
C
:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2370) : error 017undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2400) : error 017undefined symbol "PlayerObjectUpdate"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2544) : error 017undefined symbol "StopLoopingAnim"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2550) : error 017undefined symbol "PlayerName"
Compilation aborted.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase 
Reply


Messages In This Thread
Need help with this - by weedxd - 15.05.2014, 14:22
Re: Need help with this - by Konstantinos - 15.05.2014, 14:23
Re: Need help with this - by weedxd - 15.05.2014, 14:26
Re: Need help with this - by Konstantinos - 15.05.2014, 14:28
Re: Need help with this - by weedxd - 15.05.2014, 14:34
Re: Need help with this - by iFarbod - 15.05.2014, 14:37
Re: Need help with this - by weedxd - 15.05.2014, 14:40
AW: Need help with this - by Macronix - 15.05.2014, 15:18
Re: AW: Need help with this - by weedxd - 15.05.2014, 15:23
Re: Need help with this - by AroseKhanNiazi - 15.05.2014, 15:28

Forum Jump:


Users browsing this thread: 2 Guest(s)