25.12.2009, 12:58
Quote:
|
C:\Users\Portatil\Desktop\samp03asvr_R4_win32-1\gamemodes\gf.pwn(26207) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 5904 bytes Code size: 1100332 bytes Data size: 4429832 bytes Stack/heap size: 16384 bytes; estimated max. usage=5103 cells (20412 bytes) Total requirements: 5552452 bytes 1 Warning. |
Код:
public OnPlayerPrivmsg(playerid, recieverid, text[])
{
return 0;
}
public SetCamBack(playerid)
{
if(IsPlayerConnected(playerid))
{
new Float:plocx,Float:plocy,Float:plocz;
GetPlayerPos(playerid, plocx, plocy, plocz);
SetPlayerPos(playerid, -1863.15, -21.6598, 1060.15); // Warp the player
SetPlayerInterior(playerid,14);
}
}
public FixHour(hour)
{
hour = timeshift+hour;
if (hour < 0)
{
hour = hour+24;
}
else if (hour > 23)
{
hour = hour-24;
}
shifthour = hour;
return 1;
}
public AddsOn()
{
adds=1;
return 1;
}

