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
Threaded Mode
Mod please delete
UnknownGamer
Gangsta
Posts: 518
Threads: 211
Joined: Apr 2012
Reputation:
0
#1
30.12.2012, 19:20
FIXED.
Find
Reply
Babul
High-roller
Posts: 1,781
Threads: 13
Joined: Sep 2009
Reputation:
0
#2
30.12.2012, 19:24
add a break when an empty slot got found and filled:
Код:
WEEDS[playerid] = WEEDS[playerid] - 5; break; } } return 1; }
Find
Reply
RedCrossER
Huge Clucker
Posts: 274
Threads: 2
Joined: Nov 2012
Reputation:
0
#3
30.12.2012, 19:24
Close the for loop before sending client message
Find
Reply
UnknownGamer
Gangsta
Posts: 518
Threads: 211
Joined: Apr 2012
Reputation:
0
#4
30.12.2012, 19:26
Quote:
Originally Posted by
Babul
add a break when an empty slot got found and filled:
Код:
WEEDS[playerid] = WEEDS[playerid] - 5; break; } } return 1; }
break; didn't work. But return 1; did.
Thanks.
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