13.10.2009, 15:05
I've done this
but seems to me I have no skill in pawno, because it shows too many error messages(((
.pwn(3606) : warning 225: unreachable code
.pwn(3606) : warning 217: loose indentation
.pwn(3652) : error 017: undefined symbol "string"
.pwn(3653) : error 017: undefined symbol "string"
.pwn(3691) : error 017: undefined symbol "string"
.pwn(3691) : error 017: undefined symbol "string"
.pwn(3691) : error 029: invalid expression, assumed zero
.pwn(3691) : fatal error 107: too many error messages on one line
Код:
public OnPlayerDeath(playerid, killerid, reason) { { SendDeathMessage(killerid, playerid, reason); return 1; } if(IsPlayerConnected(killerid)) { if(IsACop(killerid)) { if(WantedLevel[playerid] >=1) { SendClientMessage(killerid, COLOR_YELLOW,"*Приступник был посажен в тюрьму"); PlayerInfo[playerid][pJailTime] = (WantedLevel[playerid])*(600); PlayerInfo[playerid][pJailed] = 1; PlayerInfo[playerid][pWantedDeaths] += 1; SetPlayerInterior(playerid, 6); SetPlayerPos(playerid, 264.6288,77.5742,1001.0391); return 1; } } }
.pwn(3606) : warning 225: unreachable code
.pwn(3606) : warning 217: loose indentation
.pwn(3652) : error 017: undefined symbol "string"
.pwn(3653) : error 017: undefined symbol "string"
.pwn(3691) : error 017: undefined symbol "string"
.pwn(3691) : error 017: undefined symbol "string"
.pwn(3691) : error 029: invalid expression, assumed zero
.pwn(3691) : fatal error 107: too many error messages on one line