Raised This Month: $ Target: $400
 0% 

[Tutorial] Learn the new ways


Post New Thread Reply   
 
Thread Tools Display Modes
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 07-24-2011 , 07:29   Re: [Tutorial] Learn the new ways
Reply With Quote #121

Click me
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
brenu
Junior Member
Join Date: Jun 2011
Old 07-24-2011 , 11:05   Re: [Tutorial] Learn the new ways
Reply With Quote #122

Quote:
Originally Posted by Jelle View Post
Thanks.
Look at the code plz.
I already fixed the indentation =).
Now i can make more clean codes =D.

@edit
When i fix my indentation i get more errors...
I already put the new errors in the post

Last edited by brenu; 07-24-2011 at 11:16.
brenu is offline
Send a message via MSN to brenu
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 07-24-2011 , 15:19   Re: [Tutorial] Learn the new ways
Reply With Quote #123

PHP Code:
public sh_client_spawn(id)
{

     if (
gHasStickPower[id])
     {

          
stick_morph(id)
          
stick_weapon(id)
     }

}

stick_morph(id)
stick_weapon(id)
{

     
cs_set_user_model(id"stick")
     if (
sh_is_active() && is_user_alive(id) && gHasStickPower[id] )
     {

          
sh_give_weapon(idCSW_AK47)
          
stick_unmorph(id)
          {

          
cs_reset_user_model(id)
          }
     }

You forgot to do anything with the stick_morph forward you created. The compiler has no idea of what is going on there, and that is why you get "undefined symbol" as an error.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
brenu
Junior Member
Join Date: Jun 2011
Old 07-24-2011 , 15:24   Re: [Tutorial] Learn the new ways
Reply With Quote #124

Okay, i'll try to fix it..

@edit
I look again at the tutorial but i put all that u talk in the tutorial...
If i edit anything in the code you think that i get other error or warning?
brenu is offline
Send a message via MSN to brenu
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 07-24-2011 , 15:40   Re: [Tutorial] Learn the new ways
Reply With Quote #125

Look at part 6 again. The forward super_morph() is used.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
brenu
Junior Member
Join Date: Jun 2011
Old 07-24-2011 , 15:45   Re: [Tutorial] Learn the new ways
Reply With Quote #126

Quote:
Originally Posted by Jelle View Post
Look at part 6 again. The forward super_morph() is used.
Sorry, i'm not english, i don't understand "all" that u talked...
And i put three times the "super_morph" like u said in the tutorial.
And i look at the code again, it only have "super_morph(id)"....

@Edit
Oh sorry, i'm a hell noob D:
I'm looking at the other posts and now i understand.
I need to make the super_morph function, i'm correct? xD
Now i'm remaking the part of weapon model and player model okay =D.
Any other thing i will edit this post okay =D

Last edited by brenu; 07-24-2011 at 15:51.
brenu is offline
Send a message via MSN to brenu
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 07-24-2011 , 15:50   Re: [Tutorial] Learn the new ways
Reply With Quote #127

Quote:
Originally Posted by brenu View Post
I need to make the super_morph function, i'm correct? xD
Yes.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
brenu
Junior Member
Join Date: Jun 2011
Old 07-24-2011 , 16:18   Re: [Tutorial] Learn the new ways
Reply With Quote #128

Quote:
Originally Posted by Jelle View Post
Yes.
Wow, Super, Mega, Ultra, Universe, Infinity, Dimension and Silence Thanks
Thanks, Thaaaaaanks =D
I Finally made my hero =D.
Because you teach me and all of this members to write super hero codes =D.
Thanks man =D.
If u need anything send PM to me.
I will be happy helping you =).
Thanks man =D.
brenu is offline
Send a message via MSN to brenu
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 07-25-2011 , 10:57   Re: [Tutorial] Learn the new ways
Reply With Quote #129

Quote:
Originally Posted by brenu View Post
Wow, Super, Mega, Ultra, Universe, Infinity, Dimension and Silence Thanks
Thanks, Thaaaaaanks =D
I Finally made my hero =D.
Because you teach me and all of this members to write super hero codes =D.
Thanks man =D.
If u need anything send PM to me.
I will be happy helping you =).
Thanks man =D.
Seems like you have gotten yourself a pimp Jelle! Or the reversed......
__________________
The Art of War is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 07-25-2011 , 13:40   Re: [Tutorial] Learn the new ways
Reply With Quote #130

Quote:
Originally Posted by The Art of War View Post
Seems like you have gotten yourself a pimp Jelle! Or the reversed......
Yeah well, its hard to be famous.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode