View Single Post
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 01-27-2020 , 09:40   Re: [TUT] SourcePawn Scripting - Tips, Basics to Advanced
Reply With Quote #6

Thanks Silvers, there is some great info in this thread.

As a suggestion:
*I would add as a "common mistake", trying to get the entity model on OnEntityCreated, the proper way to do it is getting it on SpawnPost or using NextFrame (this rule applies to other settings as well)
*I usually add in my scripts the #file tag to reduce the pathname of the file while compiling and fixing errors or warnings, this helps me to "read" better the log error/compiler output
*Would be good to add some link references (I don't know if there is any) on how to work properly with: SetTransmit / Client Cookies / Translations.
*Some SM online compilers available:
SM Compiler
Spider
__________________
Marttt is offline