Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive
Threaded Mode
Where can i find OnPlayerUpdate???
Moustafa
Big Clucker
Posts: 165
Threads: 33
Joined: Jun 2008
Reputation:
0
#1
28.06.2009, 13:10
As the title say..
Find
Reply
Donny_k
Gangsta
Posts: 788
Threads: 22
Joined: May 2006
Reputation:
0
#2
28.06.2009, 13:13
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.
Find
Reply
Andom
Huge Clucker
Posts: 321
Threads: 17
Joined: Mar 2009
Reputation:
0
#3
28.06.2009, 16:33
CTRL+F
Find
Reply
Correlli
Godfather
Posts: 6,340
Threads: 58
Joined: May 2009
Reputation:
0
#4
28.06.2009, 17:05
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.
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 4 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive