nem mûködik a graffiti
http://forum.sa-mp.com/showthread.php?t=261241&highlight=graffiti azt írták errõl az oldalról nézzem le
[pawn]
public OnPlayerReceiveSprayPermission( playerid, errorID )
{
if( !errorID )
printf(\"clientid %i has just received spraying permission.\", playerid);
return true;
}
public OnPlayerCreateSpray( playerid, sprayID )
{
printf( \"SprayID: %i has been created.\", sprayID );
static
s_string[ 100 ],
File: log
;
GetPlayerName( playerid, s_string, MAX_PLAYER_NAME );
format( s_string, sizeof s_string, \"%s|%i\", s_string, gettime( ) );
log = fopen( \"spray_log.log\", fexist( \"spray_log.log \" ) ? io_append : io_open );
fwrite( log, s_string );
fclose( log );
}
public OnSprayDelete( sprayID )
{
printf( \"SprayID: %i has been deleted.\", sprayID );
return true;
}
[/pawn]
ezt beraktam pawnoba és ezt írja ki
D:\\GTA szeró\\filterscripts\\graffiti.pwn(
: warning 235: public function lacks forward declaration (symbol \"OnPlayerReceiveSprayPermission\")
D:\\GTA szeró\\filterscripts\\graffiti.pwn(16) : warning 235: public function lacks forward declaration (symbol \"OnPlayerCreateSpray\")
D:\\GTA szeró\\filterscripts\\graffiti.pwn(26) : error 017: undefined symbol \"io_open\"
D:\\GTA szeró\\filterscripts\\graffiti.pwn(31) : warning 235: public function lacks forward declaration (symbol \"OnSprayDelete\")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
pedig még a pawnohoz leszedtem az inc filet is de nem megy.
Valami ötlet?