My pawno gives errors
#6

Quote:
Originally Posted by Zezombia
Do you Just need a vehicle spawner? If so, here's a nice simple one for you:

pawn Код:
if(strcmp(cmdtext, "/veh", true, 4) == 0)
{
    new pos = strfind(cmdtext, " ", true);
    strdel(cmdtext, 0, pos + 1);

    if(strval(cmdtext) < 400 || strval(cmdtext) > 611) return 1;

    new Float:X, Float:Y, Float:Z;
    GetPlayerPos(playerid, X, Y, Z);
    CreateVehicle(car, X + 2, Y, Z, 0.0, -1, -1, -1);
}
this somehow gives me the same bugs
and the errors are:
Код:
C:\Users\Sidney\samp server\gamemodes\vec.pwn(110) : error 017: undefined symbol "car"
C:\Users\Sidney\samp server\gamemodes\vec.pwn(113) : error 029: invalid expression, assumed zero
C:\Users\Sidney\samp server\gamemodes\vec.pwn(113) : error 004: function "OnPlayerInfoChange" is not implemented
C:\Users\Sidney\samp server\gamemodes\vec.pwn(118) : warning 225: unreachable code
C:\Users\Sidney\samp server\gamemodes\vec.pwn(118) : error 029: invalid expression, assumed zero
C:\Users\Sidney\samp server\gamemodes\vec.pwn(118) : error 004: function "OnPlayerEnterVehicle" is not implemented
C:\Users\Sidney\samp server\gamemodes\vec.pwn(123) : warning 225: unreachable code
C:\Users\Sidney\samp server\gamemodes\vec.pwn(123) : error 029: invalid expression, assumed zero
C:\Users\Sidney\samp server\gamemodes\vec.pwn(123) : error 004: function "OnPlayerExitVehicle" is not implemented
C:\Users\Sidney\samp server\gamemodes\vec.pwn(128) : warning 225: unreachable code
C:\Users\Sidney\samp server\gamemodes\vec.pwn(128) : error 029: invalid expression, assumed zero
C:\Users\Sidney\samp server\gamemodes\vec.pwn(128) : error 004: function "OnPlayerStateChange" is not implemented
C:\Users\Sidney\samp server\gamemodes\vec.pwn(133) : warning 225: unreachable code
C:\Users\Sidney\samp server\gamemodes\vec.pwn(133) : error 029: invalid expression, assumed zero
C:\Users\Sidney\samp server\gamemodes\vec.pwn(133) : error 004: function "OnPlayerEnterCheckpoint" is not implemented
C:\Users\Sidney\samp server\gamemodes\vec.pwn(138) : warning 225: unreachable code
C:\Users\Sidney\samp server\gamemodes\vec.pwn(138) : error 029: invalid expression, assumed zero
C:\Users\Sidney\samp server\gamemodes\vec.pwn(138) : error 004: function "OnPlayerLeaveCheckpoint" is not implemented
C:\Users\Sidney\samp server\gamemodes\vec.pwn(143) : warning 225: unreachable code
C:\Users\Sidney\samp server\gamemodes\vec.pwn(143) : error 029: invalid expression, assumed zero
C:\Users\Sidney\samp server\gamemodes\vec.pwn(143) : error 004: function "OnPlayerEnterRaceCheckpoint" is not implemented
C:\Users\Sidney\samp server\gamemodes\vec.pwn(148) : warning 225: unreachable code
C:\Users\Sidney\samp server\gamemodes\vec.pwn(148) : error 029: invalid expression, assumed zero
C:\Users\Sidney\samp server\gamemodes\vec.pwn(148) : error 004: function "OnPlayerLeaveRaceCheckpoint" is not implemented
C:\Users\Sidney\samp server\gamemodes\vec.pwn(153) : warning 225: unreachable code
C:\Users\Sidney\samp server\gamemodes\vec.pwn(153) : error 029: invalid expression, assumed zero
C:\Users\Sidney\samp server\gamemodes\vec.pwn(153) : error 004: function "OnRconCommand" is not implemented
C:\Users\Sidney\samp server\gamemodes\vec.pwn(158) : warning 225: unreachable code
C:\Users\Sidney\samp server\gamemodes\vec.pwn(158) : error 029: invalid expression, assumed zero
C:\Users\Sidney\samp server\gamemodes\vec.pwn(158) : error 004: function "OnObjectMoved" is not implemented
C:\Users\Sidney\samp server\gamemodes\vec.pwn(163) : warning 225: unreachable code
C:\Users\Sidney\samp server\gamemodes\vec.pwn(163) : error 029: invalid expression, assumed zero
C:\Users\Sidney\samp server\gamemodes\vec.pwn(163) : error 004: function "OnPlayerObjectMoved" is not implemented
C:\Users\Sidney\samp server\gamemodes\vec.pwn(168) : warning 225: unreachable code
C:\Users\Sidney\samp server\gamemodes\vec.pwn(168) : error 029: invalid expression, assumed zero
C:\Users\Sidney\samp server\gamemodes\vec.pwn(168) : error 004: function "OnPlayerPickUpPickup" is not implemented
C:\Users\Sidney\samp server\gamemodes\vec.pwn(173) : warning 225: unreachable code
C:\Users\Sidney\samp server\gamemodes\vec.pwn(173) : error 029: invalid expression, assumed zero

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply


Messages In This Thread
My pawno gives errors - by Sidney_J - 02.01.2009, 12:38
Re: My pawno gives errors - by -John- - 02.01.2009, 12:50
Re: My pawno gives errors - by Sidney_J - 02.01.2009, 13:03
Re: My pawno gives errors - by -John- - 02.01.2009, 13:09
Re: My pawno gives errors - by Zezombia - 02.01.2009, 13:17
Re: My pawno gives errors - by Sidney_J - 02.01.2009, 13:21
Re: My pawno gives errors - by -John- - 02.01.2009, 13:22
Re: My pawno gives errors - by Sidney_J - 02.01.2009, 13:26
Re: My pawno gives errors - by Zezombia - 02.01.2009, 13:27
Re: My pawno gives errors - by Sidney_J - 02.01.2009, 13:31

Forum Jump:


Users browsing this thread: 2 Guest(s)