OnPlayerInteriorChange
#1

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)