help with error in timers
#1

Код:
C:\Documents and Settings\Prabhat\Desktop\CopsVSTerrorists v4.0 [0.3c]\filterscripts\race.pwn(217) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
pawn Код:
public race2(playerid)//line 217 and function forwarded
{
    SetPlayerVirtualWorld(playerid,102);
    SetPlayerPos(playerid,1286.4811,-1712.4708,12.8618);
    PutPlayerInVehicle(playerid, 471, 0);
}
Reply
#2

Your forward must be:
pawn Код:
forward race2(playerid);
Reply
#3

function forwarded already
Reply
#4

Quote:
Originally Posted by MA_proking
Посмотреть сообщение
function forwarded already
May I see?
Reply
#5

Код:
forward race2();
Reply
#6

Quote:
Originally Posted by MA_proking
Посмотреть сообщение
Код:
forward race2();
Did you even read my post before you reply it?

Quote:
Originally Posted by varthshenon
Посмотреть сообщение
Your forward must be:
pawn Код:
forward race2(playerid);
Reply
#7

thanks it work ..... +1 rep for you sir
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)