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
How to bypass login
Daniel_Truk
Huge Clucker
Posts: 200
Threads: 25
Joined: Mar 2009
Reputation:
0
#1
26.10.2009, 14:48
Hello i wonder how to bypass the login for a npc because i dont want to Change my whole register thingy
/cake
Find
Reply
Sergei
High-roller
Posts: 2,862
Threads: 11
Joined: Mar 2008
Reputation:
0
#2
26.10.2009, 14:54
Use IsPlayerNPC native.
Find
Reply
AG Adam
Big Clucker
Posts: 80
Threads: 7
Joined: Aug 2009
Reputation:
0
#3
26.10.2009, 15:13
pawn Код:
IsPlayerNPC
(
playerid
)
Find
Reply
Annihalation
Big Clucker
Posts: 70
Threads: 16
Joined: Jul 2009
Reputation:
0
#4
26.10.2009, 21:12
put this at the top of your code (I'm assuming they are told to login onPlayerConnect):
Код:
if(IsPlayerNPC(playerid))return 1;
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:
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive