| Blockland Forums > Modification Help |
| Spring Break Madness (Challenge Complete!) |
| << < (33/49) > >> |
| naturemon:
Can someone tell me if there is a way to make an event work ONLY if the player is a recruit? (And if there is, please give an example of the event) |
| Deathwishez:
Yes. Two methods: Method A: --- Code: ---[X] 0 [0] onActivate -> Self -> VCE_ifValue -> [<var:cl:rank>] == [0] [ ] [X] 1 [0] onVariableTrue -> Client -> centerPrint -> [<color:FFFFFF>You are a Recruit!] [3] [X] 2 [0] onVariableFalse -> Client -> centerPrint -> [<color:FFFFFF>You are not a Recruit!] [3] --- End code --- Method B: --- Code: ---[X] 0 [0] onActivate -> Self -> VCE_ifValue -> [<var:cl:clanPrefix>] ~= [Recruit] [ ] [X] 1 [0] onVariableTrue -> Client -> centerPrint -> [<color:FFFFFF>You are a Recruit!] [3] [X] 2 [0] onVariableFalse -> Client -> centerPrint -> [<color:FFFFFF>You are not a Recruit!] [3] --- End code --- |
| Deathwishez:
Double Toast. Even though the server status may say that my server is down, I assure you that it is up and running. |
| pocketrocket300:
Wait, so hijacking? I need to see this on a server before I vote for it. |
| naturemon:
So, Recruit would be 0 and promotions after would count upward? |
| Navigation |
| Message Index |
| Next page |
| Previous page |