Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: [Help]Police Call
Post: RE: [Help]Police Call
STR_Warrior Wrote: (09-17-2014, 12:30 AM)
--
Also you're sometimes returning "True" which is a nil value. You should return "true" instead. Lua is case sensitive.
--
Need to fix that too, that's what... |
|
GeekSalt |
Plugin Discussion
|
5 |
5,452 |
09-17-2014, 12:48 AM |
|
|
Thread: [Help]Police Call
Post: RE: [Help]Police Call
xoft Wrote: (09-16-2014, 05:39 PM)
--
Also, your AlertPol function is somewhat weird - it first checks if the number of parameters is inequal to 2, and if so, issues an error message. Then, although ... |
|
GeekSalt |
Plugin Discussion
|
5 |
5,452 |
09-17-2014, 12:29 AM |
|
|
Thread: [Help]Police Call
Post: [Help]Police Call
[shcode=lua]
PLUGIN = nil
function Initialize(Plugin)
Plugin:SetName("AltisLife")
Plugin:SetVersion(1)
--Loads Plugin Commands
cPluginManager.BindCommand("/alert", "", AlertPol, "- ... |
|
GeekSalt |
Plugin Discussion
|
5 |
5,452 |
09-16-2014, 04:40 PM |