Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Help

$
0
0
PHP Code:

new Text3D:label[MAX_PLAYERS];
public 
OnPlayerConnect(playerid)
{
        if(
PlayerInfo[playerid][Level] == || PlayerInfo[playerid][Hide] == 1) return 0;
    if(
PlayerInfo[playerid][Level] == && PlayerInfo[playerid][Hide] == 0)
    (
        
Update3DTextLabelText(label[playerid], newblue1"[ Basic Moderator ]");
        
Attach3DTextLabelToPlayer(label[playerid], playerid0.00.00.6);
    }
    if(
PlayerInfo[playerid][Level] == && PlayerInfo[playerid][Hide] == 0)
    (
        
Update3DTextLabelText(label[playerid], COLOR_GREEN"[ Moderator ]");
        
Attach3DTextLabelToPlayer(label[playerid], playerid0.00.00.6);
    }
    if(
PlayerInfo[playerid][Level] == && PlayerInfo[playerid][Hide] == 0)
    (
        
Update3DTextLabelText(label[playerid], COLOR_YELLOW"[ Master Moderator ]");
        
Attach3DTextLabelToPlayer(label[playerid], playerid0.00.00.6);
    }
    if(
PlayerInfo[playerid][Level] == && PlayerInfo[playerid][Hide] == 0)
    (
        
Update3DTextLabelText(label[playerid], COLOR_ORANGE"[ Administrator ]");
        
Attach3DTextLabelToPlayer(label[playerid], playerid0.00.00.6);
    }
    if(
PlayerInfo[playerid][Level] == && PlayerInfo[playerid][Hide] == 0)
    (
        
Update3DTextLabelText(label[playerid], blue1"[ Master Admin ]");
        
Attach3DTextLabelToPlayer(label[playerid], playerid0.00.00.6);
    }
    if(
PlayerInfo[playerid][Level] == && PlayerInfo[playerid][Hide] == 0)
    (
        
Update3DTextLabelText(label[playerid], COLOR_Silver"[ Elite Admin ]");
        
Attach3DTextLabelToPlayer(label[playerid], playerid0.00.00.6);
    }
    if(
PlayerInfo[playerid][Level] == && PlayerInfo[playerid][Hide] == 0)
    (
        
Update3DTextLabelText(label[playerid], LIGHTBLUE2"[ General ]");
        
Attach3DTextLabelToPlayer(label[playerid], playerid0.00.00.6);
    }
    if(
PlayerInfo[playerid][Level] == && PlayerInfo[playerid][Hide] == 0)
    (
        
Update3DTextLabelText(label[playerid], Color_Major_Elite1"[ Director ]");
        
Attach3DTextLabelToPlayer(label[playerid], playerid0.00.00.6);
    }
    if(
IsPlayerAdmin(playerid) && PlayerInfo[playerid][Hide] == 0)
    (
        
Update3DTextLabelText(label[playerid], red"[ RCON ADMIN ]");
        
Attach3DTextLabelToPlayer(label[playerid], playerid0.00.00.6);
    } 

Code:

D:\Data\GTA\NZTDM\Pawno\include\dutils.inc(28) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\dutils.inc(132) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\dutils.inc(172) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\dutils.inc(280) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\dutils.inc(298) : warning 219: local variable "tmp" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\dutils.inc(337) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\dutils.inc(399) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\dutils.inc(463) : warning 219: local variable "tmp" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\dini.inc(204) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\Ldudb.inc(48) : warning 219: local variable "tmp" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\Ldudb.inc(99) : warning 219: local variable "tmp" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(154) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(163) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(214) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(226) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(247) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(391) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(485) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(492) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(509) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(565) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(613) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(627) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(634) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(641) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(641) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(655) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(655) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(669) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(676) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(683) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(690) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(795) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(900) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(970) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(985) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(1015) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(1038) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Pawno\include\DoubleOFiles2.inc(1098) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(2235) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(2289) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(2399) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(2421) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(2429) : error 035: argument type mismatch (argument 1)
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(2443) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(2445) : error 035: argument type mismatch (argument 1)
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(2455) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(2504) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(3161) : warning 217: loose indentation
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(5005) : warning 217: loose indentation
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(11887) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(11893) : error 035: argument type mismatch (argument 1)
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(11899) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(11907) : error 035: argument type mismatch (argument 1)
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(12857) : warning 219: local variable "IP" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13011) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13040) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13048) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13077) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13085) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13126) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13273) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13450 -- 13451) : error 001: expected token: ")", but found ";"
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13452) : warning 217: loose indentation
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13453) : warning 209: function "Iter_OnPlayerConnect" should return a value
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13454) : error 010: invalid function or declaration
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13459) : error 010: invalid function or declaration
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13464) : error 010: invalid function or declaration
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13469) : error 010: invalid function or declaration
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13474) : error 010: invalid function or declaration
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13479) : error 010: invalid function or declaration
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13484) : error 010: invalid function or declaration
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13489) : error 010: invalid function or declaration
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13522) : error 010: invalid function or declaration
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13542) : error 010: invalid function or declaration
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13550) : error 010: invalid function or declaration
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13553) : error 010: invalid function or declaration
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13558) : error 021: symbol already defined: "GetPlayerIp"
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13559) : error 010: invalid function or declaration
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13564) : error 021: symbol already defined: "print"
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13566) : error 010: invalid function or declaration
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13571) : error 021: symbol already defined: "print"
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13572) : error 010: invalid function or declaration
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13574) : error 010: invalid function or declaration
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13577) : error 021: symbol already defined: "GetPlayerIp"
D:\Data\GTA\NZTDM\Gamemodes\NZTDM-1.pwn(13584) : error 010: invalid function or declaration

Compilation aborted.Pawn compiler 3.2.3664                          Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.


Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>