[Pomoc]Pawno

Započeo Tong1950Po, Decembar 20, 2011, 11:57:12 PRE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Skripta koju koristim: LA RP
Detaljan opis problema: C:\Documents and Settings\Mario\Desktop\LecevicA Rol3Play\gamemodes\larp.pwn(43396) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase

Header size:           9148 bytes
Code size:          1690120 bytes
Data size:         10364808 bytes
Stack/heap size:      16384 bytes; estimated max. usage=5266 cells (21064 bytes)
Total requirements:12080460 bytes

1 Warning.

Dio skripte:
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;
}
Neke slike/video za lakse dobivanje pomoci(neobavezno):!
Trazim Skriptera! Nagrada Head Admin

vlado_plavsic

Dodaj forward OnPlayerPrivmsg(playerid, recieverid, text[]); medju druge forwarde.

Citat: [AG]Vlado_Plavsic aka Plavsa poslato Decembar 20, 2011, 12:01:42 POSLE PODNE
Dodaj forward OnPlayerPrivmsg(playerid, recieverid, text[]); medju druge forwarde.

public forward OnPlayerPrivmsg(playerid, recieverid, text[])
{
   return 0;
}

public SetCamBack(playerid)

jeli vako ubacit? ja sam tako ubacija  erora mi izbaci
Trazim Skriptera! Nagrada Head Admin

vlado_plavsic

Ne,zameni to sa ovim.


forward OnPlayerPrivmsg(playerid, recieverid, text[]);
public OnPlayerPrivmsg(playerid, recieverid, text[])
{
   return 0;
}