Towncivilian Posted December 19, 2011 Share Posted December 19, 2011 You forgot a semicolon : Link to comment
12p Posted December 19, 2011 Author Share Posted December 19, 2011 cout<<"You forgot to comment as in a programming language :<" Link to comment
AGENT_STEELMEAT Posted December 19, 2011 Share Posted December 19, 2011 class TheTruth { private int fuucksIGive = 0; private int cookiesThisThreadDeserves = 0; public TheTruth() { } public static void main(String[] args) { TheTruth theTruthAboutThisThread = new TheTruth(); System.out.println(theTruthAboutThisThread.getIntroduction()); } public String getIntroduction() { String introduction = "I give "+fuucksIGive+" fuucks and this thread deserves "+cookiesThisThreadDeserves+" cookies."; return introduction } } Link to comment
12p Posted December 19, 2011 Author Share Posted December 19, 2011 (edited) damnsGiven = math.random ( -1, -math.huge ) if damnsGiven < 0 then return "Failed to give a damn at John's comment. Try again." else return "Hey, you code haxxor, stop it! No damn can be given at John's comment!" end Edited December 22, 2011 by Guest Link to comment
Cadu12 Posted December 20, 2011 Share Posted December 20, 2011 int main() { int a = rand() % 1; if (a == 0) cout << "Im leanring C++" << endl; else cout << "http://www.cprogramming.com/tutorial.html" << endl; system("pause"); return 1; } Link to comment
diegofkda Posted December 20, 2011 Share Posted December 20, 2011 I cant script. WARNING: Load script failed:forum.multitheftauto.com: "=" Expected near 'cant' Link to comment
CapY Posted December 20, 2011 Share Posted December 20, 2011 addCommandHandler ( "lol", function() outputChatBox ( getPlayerName ( source ) .. " is Laughing his ass off!" , root, 0, 255, 0 ) end Link to comment
mjau Posted December 20, 2011 Share Posted December 20, 2011 'Activity module Sub Process_Globals 'These global variables will be declared once when the application starts. 'These variables can be accessed from all modules. End Sub Sub Globals 'These global variables will be redeclared each time the activity is created. 'These variables can only be accessed from this module. End Sub Sub Activity_Create(FirstTime As Boolean) Activity.LoadLayout("MainMenu") End Sub Sub Activity_Resume End Sub Sub Activity_Pause (UserClosed As Boolean) End Sub Sub Button1_Click Msgbox("Hello World", "Just wanted to say HI :D") End Sub bTW thats a simple code for android wich makes a message box with title hello world and I just wanted to say HI as text Link to comment
12p Posted December 21, 2011 Author Share Posted December 21, 2011 addCommandHandler ( "lol", function() outputChatBox ( getPlayerName ( source ) .. " is Laughing his ass off!" , root, 0, 255, 0 ) end WARNING: Wrong argument @ getPlayerName outputConsole ( "So, wazzup?" ) Link to comment
CapY Posted December 21, 2011 Share Posted December 21, 2011 me = getLocalPlayer addCommandHandler ( "lol", function() outputChatBox ( getPlayerName ( me ) .. " is Laughing his ass off!" , root, 0, 255, 0 ) end WARNING: Wrong argument @ getPlayerName outputConsole ( "So, wazzup?" ) outputDebugString("All new" ) Link to comment
12p Posted December 21, 2011 Author Share Posted December 21, 2011 me = getLocalPlayer ERROR: "(" expected near "getLocalPlayer" Link to comment
CapY Posted December 21, 2011 Share Posted December 21, 2011 Oh jesus! me = getLocalPlayer() HAPPY NAOO?! Link to comment
12p Posted December 21, 2011 Author Share Posted December 21, 2011 HAPPY NAOO?! return false Link to comment
GodFather Posted December 21, 2011 Share Posted December 21, 2011 lame = "This topic is lame" for x in lame: print(lame) Link to comment
zerb Posted December 22, 2011 Share Posted December 22, 2011 lame = "This topic is lame" Link to comment
diegofkda Posted December 22, 2011 Share Posted December 22, 2011 kickPlayer ( getPlayerFromName ( "Z3RB1AN" ), "DON'T INSULT THIS AWESOME TOPIC" ) Link to comment
12p Posted December 22, 2011 Author Share Posted December 22, 2011 LOADED MODULE: "forum_system" local hatersGonnaHate = { getUserFromName ( "NikDelgad|GodFather" ), getUserFromName ( "Z3RBIAN" ) } function banDaHaters ( time ) for NUMBAH, haterDetected in ipairs ( hatersGonnaHate ) do banUser ( haterDetected ) end end muteDaHaters ( math.random ( 1, 5 ) * 50 ) Link to comment
CapY Posted December 22, 2011 Share Posted December 22, 2011 LOADED MODULE: "forum_system" local hatersGonnaHate = { getUserFromName ( "NikDelgad|GodFather" ), getUserFromName ( "Z3RBIAN" ) } function banDaHaters ( time ) for NUMBAH, haterDetected in ipairs ( hatersGonnaHate ) do banUser ( haterDetected ) end end muteDaHaters ( math.random ( 1, 5 ) * 50 ) /stop forum_system /stop runcode P.S. Your signature is outdated. Link to comment
12p Posted December 22, 2011 Author Share Posted December 22, 2011 damnsGiven = math.random ( 1, math.huge ) if damnsGiven > 0 then return "Ya, ty." else return "Fail at giving damns about your comment." end Link to comment
Towncivilian Posted December 23, 2011 Share Posted December 23, 2011 inline void JunkAsm() { char RegisteredUser[50]; strcpy(RegisteredUser, "\0\0V€ƒy†"); _asm { push eax mov eax, 1 add eax, 50 push ebx add eax, ebx sub ebx, eax push ebx push eax mov eax, ebx mov ebx,eax mov eax, 55 add eax, 1 sub eax, 12 pop eax mov eax, 0 pop ebx mov ebx, 0 pop ebx mov eax, ebx add eax, eax pop eax } } Link to comment
diegofkda Posted December 23, 2011 Share Posted December 23, 2011 LOADED MODULE: "forum_system" local hatersGonnaHate = { getUserFromName ( "NikDelgad|GodFather" ), getUserFromName ( "Z3RBIAN" ) } function banDaHaters ( time ) for NUMBAH, haterDetected in ipairs ( hatersGonnaHate ) do banUser ( haterDetected ) end end muteDaHaters ( math.random ( 1, 5 ) * 50 ) /stop forum_system /stop runcode P.S. Your signature is outdated. ACL: Access denied to /stop ACL: Access denied to /stop Link to comment
12p Posted December 30, 2011 Author Share Posted December 30, 2011 /run outputChatBox ( "bump" ) /run banUser ( getUserFromName ( "CapY" ), "1h", "You fail at stopping resources brotha" ) Link to comment
CapY Posted December 30, 2011 Share Posted December 30, 2011 /run outputChatBox ( "bump" )/run banUser ( getUserFromName ( "CapY" ), "1h", "You fail at stopping resources brotha" ) ACL: Acess Denied(Ban) Link to comment
12p Posted December 30, 2011 Author Share Posted December 30, 2011 ACL: Acess Denied(Ban) ERROR: At line 1: "=" expected near "Access". Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now