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
When a person spawns
Kitten
High-roller
Posts: 2,169
Threads: 206
Joined: Jul 2010
Reputation:
0
#1
18.11.2010, 06:19
(
Последний раз редактировалось Kitten; 24.11.2013 в 05:26.
)
Solved
Find
Reply
Lorenc_
High-roller
Posts: 3,793
Threads: 196
Joined: Jan 2010
Reputation:
0
#2
18.11.2010, 09:31
I reckon you should show the OnPlayerSpawn callback so we can clearly identify the problem.
Find
Reply
Kitten
High-roller
Posts: 2,169
Threads: 206
Joined: Jul 2010
Reputation:
0
#3
18.11.2010, 12:54
(
Последний раз редактировалось Kitten; 24.11.2013 в 05:26.
)
Solved
Find
Reply
Kitten
High-roller
Posts: 2,169
Threads: 206
Joined: Jul 2010
Reputation:
0
#4
19.11.2010, 02:48
(
Последний раз редактировалось Kitten; 24.11.2013 в 05:26.
)
Solved
Find
Reply
-Rebel Son-
High-roller
Posts: 1,008
Threads: 101
Joined: Apr 2008
Reputation:
0
#5
19.11.2010, 06:36
Yes sir, you say when they spawn, it makes everyone near infected, if you look at your code, you have
Код:
Infected(i);
in the loop, guessing that's your infection variable, just take it out of the loop, make it
Код:
Infected(playerid);
Once out of the loop, it will make only the player infected.
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: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive