Jump to content
  • 0

Errori ...


Ch1NeZu

Question

Sal ... incerc sa fac un filterscript cu DMV test si imi dau niste erori...

C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(16 -- 17) : error 001: expected token: ")", but found ";"
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(18) : error 001: expected token: ";", but found "return"
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(22 -- 23) : error 029: invalid expression, assumed zero
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(25) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(27) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(33) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(44) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(50) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(56) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(62) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(68) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(74) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(80) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(86) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(92) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(98) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(104) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(110) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(116) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(122) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(128) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(134) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(140) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(146) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(152) : error 010: invalid function or declaration
C:\Documents and Settings\ChiNeZu\Desktop\test.pwn(158) : error 010: invalid function or declaration

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


26 Errors.
liniile 16--17 , 18
public OnPlayerConnect(playerid)
( ---> linia 16
    SetVehicleNumberPlate(examc, " School"); linia --> 17
    return 1; ---> linia 18
}
Liniile 22-23-25-27
public OnPlayerEnterCheckpoint(playerid)
( ----> linia 22
    new string[128]; --> linia 23
    new name[MAX_PLAYER_NAME];
    if(CP[playerid]==200)//Exam_01 ---> linia 25
	{
		if(IsPlayerInVehicle(playerid, 277)) --> linia 27
		{
	    	DisablePlayerCheckpoint(playerid);
			CP[playerid] = 201;
			SetPlayerCheckpoint(playerid, 1432.4354,-1658.6343,13.1245, 5.0);
		}
		else --> linia 33
		{
		    SendClientMessage(playerid, COLOR_LIGHTBLUE,"Examen: Nu esti in masina!");
		    SendClientMessage(playerid, COLOR_LIGHTBLUE,"Examen: Nu ai luat licenta de condus,incearca din nou !");
		    DisablePlayerCheckpoint(playerid);
    		RemovePlayerFromVehicle(playerid);
  			SetVehicleToRespawn(277);
  			SetVehicleNumberPlate(examc, " School");
  			TakingLesson[playerid] = 0;
		}
	}

aproape toate erorile sunt de la else

Samp.OnlyPro.ro - RolePlay - Join Us !

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.