SA-MP Forums Archive
OnPlayerInteriorChange - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: OnPlayerInteriorChange (/showthread.php?tid=109823)



OnPlayerInteriorChange - Oveus - 22.11.2009

This is in my script:
Код:
public OnPlayerInteriorChange(playerid,newinteriorid,oldinteriorid)
{
  new string[128];
  format(string, sizeof(string), "You went from interior %d to interior %d!",oldinteriorid,newinteriorid);
  SendClientMessage(playerid, COLOR_ORANGE, string);
  return 1;
}
When I try to complile it, I get this:
Код:
C:\samp03asvr_R3_win32\gamemodes\test.pwn(796) : error 029: invalid expression, assumed zero
C:\samp03asvr_R3_win32\gamemodes\test.pwn(796) : error 004: function "OnPlayerInteriorChange" is not implemented