![]() |
Latest additions
All servers have been restarted. This fixed a problem with
baddies and timeouts, and fixed loading of profiles. The npcservers have been updated too: - the thiso. flag thing works better now, e.g. NPC Code: Then this.flag of npcs[0] will be 'hallo' too, because thiso.flag reads the this.flag from the executing npc. This works also for setting flags, normal variables are not supported yet. - new variable playerlogintime - new variable allplayerscount, and you can do with (allplayers[index]) { ... } This is for accessing all players on the server (not sure what happens when you access RCs) |
cool
I liked the "playerlogintime", its good for jail time and make some food old...
|
Arg sorry the variable actionplayer is still not working
|
Re: Latest additions
Quote:
|
how do you use playerlogintime?
|
Quote:
with an npcs server? |
Re: Re: Latest additions
Quote:
|
Quote:
|
l33t
Stefan, you have proven yourself great once again |
:D great new commands, I need to test them one of these days
|
Quote:
is it a p2p command? damn =( |
Quote:
|
Quote:
Commands = $1 New Commands = $100 The time when you test commands = Priceless [EDIT] I just got done testing with(allplayers[index]) and it works great but isn't it oxy*****ic (sp?) that you have to state an index for all the players?? |
actually jagen it isn't oxy*****ic, it's a thing that lets you access them using their ID.
just use a for loop if you want to LITERALLY mess with all players, as in: if(playerchats && strequals(#a,Providence_RC9)||strequals(#a,Provide nce_RC7) && strequals(#c,/set allplayers)){ for(i=0;i<allplayerscount;i++){ with(allplayers[i]){ setstring client.allplayers,check; } } } if(playerchats && strequals(#a,Providence_RC9)||strequals(#a,Provide nce_RC7) && strequals(#c,/unset allplayers)){ for(i=0;i<allplayerscount;i++){ with(allplayers[i]){ setstring client.allplayers,; } } } |
| All times are GMT +2. The time now is 05:23 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.