[POMOC] Erori

Započeo Mirnas_Tajic, Mart 30, 2011, 13:57:32 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Mirnas_Tajic

Skripta koju koristim:Street_Stories
Detaljan opis problema:Nesta sam ubacivao neke kodove da mi pise ko ima chit
Dio skripte:

C:\DOCUME~1\MIRNAS~1\LOCALS~1\Temp\Rar$DI35.344\streetstories.pwn(44164) : warning 235: public function lacks forward declaration (symbol "PeterAC")
C:\DOCUME~1\MIRNAS~1\LOCALS~1\Temp\Rar$DI35.344\streetstories.pwn(44177) : error 017: undefined symbol "AntiWeaponHack"
C:\DOCUME~1\MIRNAS~1\LOCALS~1\Temp\Rar$DI35.344\streetstories.pwn(44184) : error 017: undefined symbol "PlayerGotSpottedRecently"
C:\DOCUME~1\MIRNAS~1\LOCALS~1\Temp\Rar$DI35.344\streetstories.pwn(44184) : warning 215: expression has no effect
C:\DOCUME~1\MIRNAS~1\LOCALS~1\Temp\Rar$DI35.344\streetstories.pwn(44184) : error 001: expected token: ";", but found "]"
C:\DOCUME~1\MIRNAS~1\LOCALS~1\Temp\Rar$DI35.344\streetstories.pwn(44184) : error 029: invalid expression, assumed zero
C:\DOCUME~1\MIRNAS~1\LOCALS~1\Temp\Rar$DI35.344\streetstories.pwn(44184) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.


Neke slike/video za lakse dobivanje pomoci(neobavezno):/

Ajde psotaj kako izgledaju te linije

daj nam te linije sto pisu u zagradi (44164) i ove ostale  :-*

Mirnas_Tajic

C:\DOCUME~1\MIRNAS~1\LOCALS~1\Temp\Rar$DI35.344\streetstories.pwn(44164) : warning 235: public function lacks forward declaration (symbol "PeterAC")
public countgo()
{
   new Float:X, Float:Y, Float:Z;
   for(new i; i < MAX_PLAYERS; i++) {
   GetPlayerPos(i, X,Y,Z);
   GameTextForPlayer(i,"~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~-~y~]~g~-~g~START~g~-~y~]~g~-",1000,3);
   PlayerPlaySound(i,1057,X,Y,Z);
   }
}

C:\DOCUME~1\MIRNAS~1\LOCALS~1\Temp\Rar$DI35.344\streetstories.pwn(44177) : error 017: undefined symbol "AntiWeaponHack"
new h,mi,s;

C:\DOCUME~1\MIRNAS~1\LOCALS~1\Temp\Rar$DI35.344\streetstories.pwn(44184) : warning 215: expression has no effect
C:\DOCUME~1\MIRNAS~1\LOCALS~1\Temp\Rar$DI35.344\streetstories.pwn(44184) : error 001: expected token: ";", but found "]"
C:\DOCUME~1\MIRNAS~1\LOCALS~1\Temp\Rar$DI35.344\streetstories.pwn(44184) : error 029: invalid expression, assumed zero
C:\DOCUME~1\MIRNAS~1\LOCALS~1\Temp\Rar$DI35.344\streetstories.pwn(44184) : fatal error 107: too many error messages on one line

GetPlayerName(i, plname, sizeof(plname));
         if(AntiWeaponHack == 1)

eto


public PeterAC()
{
new weaponid, ammo;
new plname[64], string[128];
new y, m, d;
new h,mi,s;
getdate(y,m,d);
gettime(h,mi,s);
for(new i = 0; i < MAX_PLAYERS; i++)
{
    if(IsPlayerConnected(i) && !IsPlayerNPC(i))
    {
GetPlayerName(i, plname, sizeof(plname));
if(AntiWeaponHack == 1)
{
if (PlayerGotSpottedRecently[i] == 0)
{
if(ScriptWeaponsUpdated[i] == 0)
    {