Timer Error
#1

Again another error on pne timer
: warning 235: public function lacks forward declaration (symbol "drive")
On the top of the script
Code:
forward drive(killerid);
public OnPlayerDeath(playerid, killerid, reason)
Code:
{
	if (IsPlayerInAnyVehicle(killerid))
 	{
	SendClientMessage(playerid,0xffa200ff,"Script Anti DB por Chris ®");
	new Float:x, Float:y, Float:z;GetPlayerPos(playerid,x,y,z);
	SetPlayerSkin(killerid,244);
	SetPlayerColor(killerid,COLOR_PINK);
	CreateExplosion(x, y, z, 7, 10.0);
	SendPlayerMessageToAll(killerid,"Soy re gei y nuuub, solo quiero decir que sali del closet");
	SetTimer("drive",1000,false);
	}
	return 1;
}
public drive(killerid)
Code:
{
	GetPlayerName(killerid, Name, MAX_PLAYER_NAME);
	format(string,sizeof(string),"Atencion todos %s salio del closet =O que gei",Name);
	GameTextForAll(string,10000,5);
}
emmm whats is wrong??
Reply


Messages In This Thread
Timer Error - by [SOB]Chris - 19.07.2009, 19:03
Re: Timer Error - by James_Alex - 19.07.2009, 19:05
Re: Timer Error - by [SOB]Chris - 19.07.2009, 19:15
Re: Timer Error - by Weirdosport - 19.07.2009, 19:20
Re: Timer Error - by [SOB]Chris - 19.07.2009, 19:30
Re: Timer Error - by Gamer_Z - 19.07.2009, 19:33
Re: Timer Error - by [SOB]Chris - 19.07.2009, 19:46

Forum Jump:


Users browsing this thread: 2 Guest(s)