08.03.2011, 10:39
Giving this warning
Script it's from 146 to 198 so there it is
pawn Код:
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(146) : warning 225: unreachable code
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(146) : warning 217: loose indentation
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(146) : error 029: invalid expression, assumed zero
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(146) : error 004: function "OnGameModeExit" is not implemented
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(151) : warning 225: unreachable code
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(151) : error 029: invalid expression, assumed zero
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(151) : error 004: function "OnPlayerRequestClass" is not implemented
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(153) : error 017: undefined symbol "playerid"
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(154) : error 017: undefined symbol "playerid"
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(155) : error 017: undefined symbol "playerid"
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(159) : warning 225: unreachable code
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(159) : error 029: invalid expression, assumed zero
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(159) : error 004: function "OnPlayerConnect" is not implemented
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(164) : warning 225: unreachable code
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(164) : error 029: invalid expression, assumed zero
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(164) : error 004: function "OnPlayerDisconnect" is not implemented
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(169) : warning 225: unreachable code
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(169) : error 029: invalid expression, assumed zero
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(169) : error 004: function "OnPlayerSpawn" is not implemented
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(174) : warning 225: unreachable code
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(174) : error 029: invalid expression, assumed zero
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(174) : error 004: function "OnPlayerDeath" is not implemented
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(179) : warning 225: unreachable code
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(179) : error 029: invalid expression, assumed zero
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(179) : error 004: function "OnVehicleSpawn" is not implemented
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(184) : warning 225: unreachable code
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(184) : error 029: invalid expression, assumed zero
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(184) : error 004: function "OnVehicleDeath" is not implemented
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(189) : warning 225: unreachable code
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(189) : error 029: invalid expression, assumed zero
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(189) : error 004: function "OnPlayerText" is not implemented
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(194) : warning 225: unreachable code
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(194) : error 029: invalid expression, assumed zero
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(194) : error 004: function "OnPlayerCommandText" is not implemented
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(196) : error 001: expected token: ";", but found "if"
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(196) : warning 217: loose indentation
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(196) : error 017: undefined symbol "cmdtext"
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\pawno\My Script.pwn(198) : error 017: undefined symbol "playerid"
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
pawn Код:
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}
public OnPlayerConnect(playerid)
{
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}
public OnPlayerText(playerid, text[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
if(strcmp("/ParkDM", cmdtext, true ,7) == 0)
{
SetPlayerPos(playerid,1171.6135,2785.9299,10.8203);