07.12.2012, 11:15
Here are the errors
and here are the codes
my friend gave me this code so i don't know these errors
pawn Код:
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8583) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8585) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8590) : error 021: symbol already defined: "SetPlayerVirtualWorld"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8597) : error 054: unmatched closing brace ("}")
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8598) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8603) : error 021: symbol already defined: "SetPlayerVirtualWorld"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8610) : error 054: unmatched closing brace ("}")
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8611) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8616) : error 021: symbol already defined: "SetPlayerVirtualWorld"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8623) : error 054: unmatched closing brace ("}")
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8624) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8629) : error 021: symbol already defined: "SetPlayerVirtualWorld"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8636) : error 054: unmatched closing brace ("}")
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8637) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8645) : error 054: unmatched closing brace ("}")
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8646) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8654) : error 054: unmatched closing brace ("}")
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8655) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8663) : error 054: unmatched closing brace ("}")
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8664) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8668) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8670) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8676) : error 021: symbol already defined: "SetPlayerVirtualWorld"
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8683) : error 054: unmatched closing brace ("}")
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8684) : error 010: invalid function or declaration
C:\PC\E\Express Gaming Roleplay Server - Copy\gamemodes\Express gaming.pwn(8689) : error 021: symbol already defined: "SetPlayerVirtualWorld"
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
pawn Код:
// line 8581
switch(TutStep[playerid])
{
case 1:
{
TutStep[playerid] = 2;
// Los Santos Bank (Camera)
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid, 0);
Streamer_UpdateEx(playerid,1797.3397,-1578.3440,14.0798);
SetPlayerPos(playerid,1797.3397,-1578.3440,-10.0);
SetPlayerCameraPos(playerid,1832.1698,-1600.1538,32.2877);
SetPlayerCameraLookAt(playerid,1797.3397,-1578.3440,14.0798);
}
case 2:
{
TutStep[playerid] = 3;
// Los Santos ATM (Camera)
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid, 0);
Streamer_UpdateEx(playerid,1295.6960,-1422.5111,14.9596);
SetPlayerPos(playerid,1283.8524,-1385.5304,-10.0);
SetPlayerCameraPos(playerid,1283.8524,-1385.5304,25.8896);
SetPlayerCameraLookAt(playerid,1295.6960,-1422.5111,14.9596);
}
case 3:
{
TutStep[playerid] = 4;
// Fishing Pier (Camera)
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid, 0);
Streamer_UpdateEx(playerid,370.0804,-2087.8767,7.8359);
SetPlayerPos(playerid,370.0804,-2087.8767,-10.0);
SetPlayerCameraPos(playerid,423.3802,-2067.7915,29.8605);
SetPlayerCameraLookAt(playerid,370.0804,-2087.8767,7.8359);
}
case 4:
{
TutStep[playerid] = 5;
// Ganton Gym (Camera)
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid, 0);
Streamer_UpdateEx(playerid,2229.4968,-1722.0701,13.5625);
SetPlayerPos(playerid,2211.1460,-1748.3909,-10.0);
SetPlayerCameraPos(playerid,2211.1460,-1748.3909,29.3744);
SetPlayerCameraLookAt(playerid,2229.4968,-1722.0701,13.5625);
}
case 5:
{
TutStep[playerid] = 6;
// Arms Dealer (Camera)
}
case 6:
{
TutStep[playerid] = 7;
// Drugs Dealer (Camera)
}
case 7:
{
TutStep[playerid] = 8;
// Drugs Smuggler (Camera)
}
case 8:
{
TutStep[playerid] = 9;
}
case 9:
{
for(new f = 2; f < 10; f++)
{
}
TutStep[playerid] = 10;
// LSPD (Camera)
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid, 0);
Streamer_UpdateEx(playerid,1554.3381,-1675.5692,16.1953);
SetPlayerPos(playerid,1514.7783,-1700.2913,-10.0);
SetPlayerCameraPos(playerid,1514.7783,-1700.2913,36.7506);
SetPlayerCameraLookAt(playerid,1554.3381,-1675.5692,16.1953);
}
case 10:
{
TutStep[playerid] = 11;
// All Saints (Camera)
SetPlayerVirtualWorld(playerid, 0); // line 8689