| Blockland Forums > Modification Help |
| Army RP Organization Mod - To make Army RPs and Military RPs less stuffty! |
| << < (7/8) > >> |
| Dimitri Pentrenko:
can i beta test i love military rps |
| PVC Potato Gun:
--- Quote from: PVC Potato Gun on August 07, 2011, 01:10:46 AM ---Hey guys, quit asking to beta this. Everyone will get to be able to use the GUI. K THX! --- End quote --- |
| PVC Potato Gun:
Bump. I'll work more on the rank system. ADD: I came across a problem. The ranks system will be modeled after the U.S. Army System for now. Later I will add Marines and that. ADD2: --- Code: ---Executing add-ons/Class_Work/Gamemode_ArmyRP.cs. add-ons/Class_Work/Gamemode_ArmyRP.cs Line: 3 - Syntax error. >>> Some error context, with ## on sides of error halt: /Ranks function servercmdsetrank(%client, %targetEntry, %rank::entry);## ## { if(!%client.isAdmin) { messageclient(%client,'', "You cannot set ranks"); return; } %target = findClientByBL_ID(%targetEntry); if(!isObject(%target)) //a BL_ID wasn't entered, so we'll check for a name { %target = findClientByName(%targetEntry); >>> Error report complete. --- End code --- WHAT THE FUA! |
| PVC Potato Gun:
More errors, wtf. |
| PVC Potato Gun:
Triple Post... What the forget is wrong with this? I see no error in it what so ever, yet it says there is an error... --- Code: ---Executing add-ons/class_work/Gamemode_ArmyRP.cs. add-ons/class_work/Gamemode_ArmyRP.cs Line: 22 - Syntax error. >>> Some error context, with ## on sides of error halt: %target = findClientByName(%targetEntry); if(!isObject(%target)) //a name wasn't entered either, so we'll stop the function { return; } } switch$(%rank::entry) { case "Private" messageclient(##%##target,'',SPC "rank has been set to" SPC %rank::entry); %target.rank = %rank::entry; echo(%rank::entry); case "Private 2" messageclient(%target,'',SPC "rank has been set to" SPC %rank::entry); %target.rank = %rank::entry; >>> Error report complete. --- End code --- |
| Navigation |
| Message Index |
| Next page |
| Previous page |