29.07.2012, 02:55
Aproveitando o tуpico,a Include vocк coloca na pasta do pawno,e para utilizar ele da para ser por um FS nй?
Aviso:
pawn Код:
#include <a_samp>
#define FC_FILE_VERSION "0.3.5" // Added the FC_
#define CLEO_FAKEKILL ( 1 )
#define CLEO_CARWARP ( 2 )
#define CLEO_PLAYERBUGGER ( 3 ) // This number will never be called from OnPlayerCleoDetected
#define CLEO_CARSWING ( 4 )
#define CLEO_CAR_PARTICLE_SPAM ( 5 )
public OnPlayerCleoDetected( playerid, cleoid )
{
switch( cleoid )
{
case CLEO_FAKEKILL:
{
SendClientMessage( playerid, -1, "You are fake killing." );
BanEx( playerid, "Fake kill" );
}
case CLEO_CARWARP:
{
SendClientMessage( playerid, -1, "You are car warping." );
BanEx( playerid, "Car Warp" );
}
case CLEO_CARSWING:
{
SendClientMessage( playerid, -1, "You are car swinging" );
BanEx( playerid, "Car Swing" );
}
case CLEO_CAR_PARTICLE_SPAM:
{
SendClientMessage( playerid, -1, "You are partical spamming" );
BanEx( playerid, "Car Particle Spam" );
}
}
return 1;
}
pawn Код:
warning: 235: public function lacks forward declaration (symbol "OnPlayerCleoDetected")

