Where can i find OnPlayerUpdate???
#1

As the title say..
Reply
#2

In the samp source code

It's a callback dude, an event, you just write it in your script like so:

pawn Код:
public OnPlayerUpdate( playerid )
{
  return 1;
}
Dunno if that is the correct params but a quick search will sort that out for you.
Reply
#3

CTRL+F
Reply
#4

Quote:
Originally Posted by [NL
WackoX ]
CTRL+F
new.pwn doesn't have some callbacks (OnPlayerUpdate, too), and some of other gamemodes, too.
@Moustafa: Just remember not to add too much code under that callback.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)