Raised This Month: $ Target: $400
 0% 

Scared to learn codding !


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 09-17-2014 , 19:35   Re: Scared to learn codding !
Reply With Quote #1

Then what do you think of module coding?

PHP Code:
void fnClientPutInServer_Post(edict_t pClient)
{
 static 
int Id 0UPlayer 0U;
 static 
edict_t pPlayer NULL;
 
Id ENTINDEX(pClient);
 
g_Plr[Id].isConnected true;
 
g_Plr[Id].Steam.assign(GETPLAYERAUTHID(pClient));
 if (
strcmp(g_Plr[Id].Steam.c_str(), "BOT") == 0U || pClient->v.flags FL_FAKECLIENT)
  
g_Plr[Id].isFake true;
 else if (
strcmp(g_Plr[Id].Steam.c_str(), "HLTV") == 0U || pClient->v.flags FL_PROXY)
  
g_Plr[Id].isHLTV true;
 
playerLocation(Id);
 
printf("\n\t* %s joined from %s, %s\n\n"g_Plr[Id].Name.c_str(), g_Plr[Id].City.c_str(), g_Plr[Id].Country.c_str()); 
Start learning by editing 30 - 120 lines scripts. Test them all and try to do everything you see hard. We use to do mistakes especially at the easiest part of code.
'd be funny to replace scared with spooked. LOL.
__________________

Last edited by claudiuhks; 09-17-2014 at 19:44.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
Shooting King
RAAASENGAN
Join Date: Mar 2012
Location: India
Old 09-17-2014 , 13:22   Re: Scared to learn codding !
Reply With Quote #2

Quote:
Originally Posted by zmd94 View Post
Just start from simple one. ;)
"Hello World" ?
__________________
As every time said, don't ever UNDERESTIMATE me.

Donate - Here
Shooting King is offline
GinNNy
Senior Member
Join Date: Mar 2014
Old 09-17-2014 , 13:26   Re: Scared to learn codding !
Reply With Quote #3

yeah /h prints hello world LOL
GinNNy is offline
Kakarotto
Senior Member
Join Date: Apr 2014
Old 09-17-2014 , 14:41   Re: Scared to learn codding !
Reply With Quote #4

Quote:
Originally Posted by GinNNy View Post
yeah /h prints hello world LOL
[IMG]http://img834.**************/img834/3390/coletrollprob1.jpg[/IMG]
Kakarotto is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-17-2014 , 15:20   Re: Scared to learn codding !
Reply With Quote #5

Quote:
Originally Posted by yokomo View Post
Try by copy and paste first.
That is the WORST advice you can give a beginner.
__________________
fysiks is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 09-17-2014 , 17:13   Re: Scared to learn codding !
Reply With Quote #6

Quote:
Originally Posted by fysiks View Post
That is the WORST advice you can give a beginner.
No that is useful. Because i start from copy and paste too. While doing copy n paste job i can view and explore the code. After that i google for natives and it functions. That's my way to learn coding. And yes the most important thing is "google.com".
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019

Last edited by yokomo; 09-17-2014 at 17:14.
yokomo is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-17-2014 , 18:07   Re: Scared to learn codding !
Reply With Quote #7

Quote:
Originally Posted by yokomo View Post
No that is useful. Because i start from copy and paste too. While doing copy n paste job i can view and explore the code. After that i google for natives and it functions. That's my way to learn coding. And yes the most important thing is "google.com".
Having the "Copy and Paste" mentality is the worst because people learn that they don't need to actually understand the code to use it. This is why many people here are unable to figure out their own issues (because they didn't understand the code that they were using).

Learning from existing code is different. You learn what a particular code does and how it works then you should re-write it in your own style so that you better understand it.

It's like going to a country that speaks a language that you don't and then only looking at a cheat sheet that has common phrases on it. Sure, it might get you by for a short time but it is certainly not the best way to approach it if you want to do it long term.
__________________
fysiks is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 09-17-2014 , 19:32   Re: Scared to learn codding !
Reply With Quote #8

Quote:
Originally Posted by fysiks View Post
It's like going to a country that speaks a language that you don't and then only looking at a cheat sheet that has common phrases on it. Sure, it might get you by for a short time but it is certainly not the best way to approach it if you want to do it long term.
I agreed that in long term, the Copy and Paste method is not the best way and it can be worst.

By the way, It just for the start. If someone really want to go futher and more deep in coding, he should go for the next step, which is:
Quote:
Originally Posted by fysiks View Post
Learning from existing code. You learn what a particular code does and how it works then you should re-write it in your own style so that you better understand it.

Last edited by zmd94; 09-17-2014 at 19:33.
zmd94 is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 09-17-2014 , 19:54   Re: Scared to learn codding !
Reply With Quote #9

I think this is the best tutorial for beginner. ;)

Just visit this thread: Pawn Picture Tutorial
zmd94 is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 09-18-2014 , 06:07   Re: Scared to learn codding !
Reply With Quote #10

Quote:
Originally Posted by zmd94 View Post
I think this is the best tutorial for beginner. ;)

Just visit this thread: Pawn Picture Tutorial
+1
Also linking newcomers to this when they ask me.
__________________
Kia is offline
Reply


Thread Tools
Display Modes

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 02:43.


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