30.05.2012, 19:21
Hi all i was wondering whats wrong with that ?
Errors Show :
pawn Код:
if (strcmp("/skills", cmdtext, true, 10) == 0)
{
new Eagle[50],Sniper[50],Ak47[50],Sawnoff[50],Spaz[50],Uzi[50],Mp5[50],Shotgun[50];
format(Eagle,sizeof(Eagle),"Eagle:%d",AccountInfo[playerid][Eagle]);
format(Sniper,sizeof(Sniper),"Sniper:%d",AccountInfo[playerid][Sniper]);
format(Ak47,sizeof(Ak47),"Ak47:%d",AccountInfo[playerid][Ak47]);
format(Sawnoff,sizeof(Sawnoff),"Sawnoff:%d",AccountInfo[playerid][Sawnoff]);
format(Spaz,sizeof(Spaz),"Spaz:%d",AccountInfo[playerid][Spaz]);
format(Uzi,sizeof(Uzi),"Uzi:%d",AccountInfo[playerid][Uzi]);
format(Mp5,sizeof(Mp5),"Mp5:%d",AccountInfo[playerid][Mp5]);
format(Shotgun,sizeof(Shotgun),"Shotgun:%d",AccountInfo[playerid][Shotgun]);
SendClientMessage(playerid,-1,Eagle);
SendClientMessage(playerid,-1,Sniper);
SendClientMessage(playerid,-1,Ak47);
SendClientMessage(playerid,-1,Sawnoff);
SendClientMessage(playerid,-1,Spaz);
SendClientMessage(playerid,-1,Uzi);
SendClientMessage(playerid,-1,Mp5);
SendClientMessage(playerid,-1,Shotgun);
}
pawn Код:
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(395) : warning 219: local variable "Eagle" shadows a variable at a preceding level
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(395) : warning 219: local variable "Sniper" shadows a variable at a preceding level
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(395) : warning 219: local variable "Ak47" shadows a variable at a preceding level
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(395) : warning 219: local variable "Sawnoff" shadows a variable at a preceding level
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(395) : warning 219: local variable "Spaz" shadows a variable at a preceding level
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(395) : warning 219: local variable "Uzi" shadows a variable at a preceding level
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(395) : warning 219: local variable "Mp5" shadows a variable at a preceding level
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(395) : warning 219: local variable "Shotgun" shadows a variable at a preceding level
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(396) : error 035: argument type mismatch (argument 1)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(396) : error 035: argument type mismatch (argument 1)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(397) : error 035: argument type mismatch (argument 1)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(397) : error 035: argument type mismatch (argument 1)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(398) : error 035: argument type mismatch (argument 1)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(398) : error 035: argument type mismatch (argument 1)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(399) : error 035: argument type mismatch (argument 1)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(399) : error 035: argument type mismatch (argument 1)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(400) : error 035: argument type mismatch (argument 1)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(400) : error 035: argument type mismatch (argument 1)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(401) : error 035: argument type mismatch (argument 1)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(401) : error 035: argument type mismatch (argument 1)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(402) : error 035: argument type mismatch (argument 1)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(402) : error 035: argument type mismatch (argument 1)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(403) : error 035: argument type mismatch (argument 1)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(403) : error 035: argument type mismatch (argument 1)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(404) : error 035: argument type mismatch (argument 3)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(405) : error 035: argument type mismatch (argument 3)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(406) : error 035: argument type mismatch (argument 3)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(407) : error 035: argument type mismatch (argument 3)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(408) : error 035: argument type mismatch (argument 3)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(409) : error 035: argument type mismatch (argument 3)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(410) : error 035: argument type mismatch (argument 3)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(411) : error 035: argument type mismatch (argument 3)
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(395) : warning 204: symbol is assigned a value that is never used: "Shotgun"
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(395) : warning 204: symbol is assigned a value that is never used: "Mp5"
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(395) : warning 204: symbol is assigned a value that is never used: "Uzi"
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(395) : warning 204: symbol is assigned a value that is never used: "Spaz"
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(395) : warning 204: symbol is assigned a value that is never used: "Sawnoff"
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(395) : warning 204: symbol is assigned a value that is never used: "Ak47"
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(395) : warning 204: symbol is assigned a value that is never used: "Sniper"
C:\Users\almooo\Desktop\Zombe server test\gamemodes\DeathMatch.pwn(395) : warning 204: symbol is assigned a value that is never used: "Eagle"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
24 Errors.