19.07.2009, 19:03
Again another error on pne timer
: warning 235: public function lacks forward declaration (symbol "drive")
On the top of the script
public OnPlayerDeath(playerid, killerid, reason)
public drive(killerid)
emmm whats is wrong??
: warning 235: public function lacks forward declaration (symbol "drive")
On the top of the script
Code:
forward drive(killerid);
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; }
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); }
![confused](images/smilies/confused.gif)
![Cry](images/smilies/cry.gif)