Few questions about scripting PAWN
#3

Quote:
Originally Posted by Infinity
Посмотреть сообщение
Whoever said C++ is easier is a complete retard and has never ever programmed real C++ applications. PAWN is relatively flat, while C++ is objects oriented, it is very low level, memory management is a pain if you don't know what you're doing etc.


Anyhow, my way of learning is simple. Try and make a simple gamemode. If you want a specific feature in, let's say a car falls on top of you if you die, then think logically and split it up in smaller parts.
How do I know if a player died? *checks new.pwn and wiki* Ohh, there's a callback "OnPlayerDeath", that gets called when a player dies. Okay, got that. How to spawn a car. *checks wiki* Ohh, cool, CreateVehicle. Etc.

In short, learn by doing.
Thanks for your reply, made some sense into me. Pretty sure I heard it over another forum.
However I prefer using a base script and editing the lines, I guess it's all just personal preference!
Reply


Messages In This Thread
Few questions about scripting PAWN - by FlawPaw - 28.08.2014, 07:59
Re: Few questions about scripting PAWN - by Infinity - 28.08.2014, 08:29
Re: Few questions about scripting PAWN - by FlawPaw - 28.08.2014, 08:33
Re: Few questions about scripting PAWN - by iFarbod - 28.08.2014, 10:03
Re: Few questions about scripting PAWN - by FlawPaw - 28.08.2014, 10:55
Re: Few questions about scripting PAWN - by iFarbod - 28.08.2014, 11:37
Re: Few questions about scripting PAWN - by FlawPaw - 28.08.2014, 11:51
Re: Few questions about scripting PAWN - by iFarbod - 28.08.2014, 12:09
Re: Few questions about scripting PAWN - by FlawPaw - 28.08.2014, 12:32
Re: Few questions about scripting PAWN - by iFarbod - 28.08.2014, 13:30

Forum Jump:


Users browsing this thread: 2 Guest(s)