27.10.2012, 13:52
pawn Код:
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(878) : warning 217: loose indentation
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(880) : warning 217: loose indentation
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1112) : warning 217: loose indentation
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1205) : warning 217: loose indentation
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1592) : warning 219: local variable "playername" shadows a variable at a preceding level
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1592) : warning 219: local variable "string" shadows a variable at a preceding level
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1604) : warning 217: loose indentation
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1607) : warning 219: local variable "playername" shadows a variable at a preceding level
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1607) : warning 219: local variable "string" shadows a variable at a preceding level
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1620) : warning 217: loose indentation
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1623) : warning 219: local variable "playername" shadows a variable at a preceding level
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1623) : warning 219: local variable "string" shadows a variable at a preceding level
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1635) : warning 217: loose indentation
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1638) : warning 219: local variable "playername" shadows a variable at a preceding level
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1638) : warning 219: local variable "string" shadows a variable at a preceding level
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1650) : warning 217: loose indentation
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1652) : warning 219: local variable "playername" shadows a variable at a preceding level
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1652) : warning 219: local variable "string" shadows a variable at a preceding level
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1666) : warning 219: local variable "playername" shadows a variable at a preceding level
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1666) : warning 219: local variable "string" shadows a variable at a preceding level
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1679) : warning 217: loose indentation
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1682) : warning 219: local variable "playername" shadows a variable at a preceding level
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1682) : warning 219: local variable "string" shadows a variable at a preceding level
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(1694) : warning 217: loose indentation
C:\DOCUME~1\ADMINI~1\Desktop\SSSSSS~1\GAMEMO~1\GAP.pwn(807) : warning 204: symbol is assigned a value that is never used: "result"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
25 Warnings.
Lines 1112 - 1119
pawn Код:
if(strcmp(cmd, "/sellspas12", true) == 0) {
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid, COLOR_GREY, "Usage: /sellspas12 [Player ID]");
return 1;
}
giveplayerid = strval(tmp);
pawn Код:
if (strcmp("/jobgunplace", cmdtext, true, 10) == 0) {
SendClientMessage(playerid, COLOR_BLUELIGHT, "* * Gun Job place was placed on your map, look on your map and follow it * *");
return 1;
}
what could be the problem?