Syntax completion ("SHIFT + (")
#1

Hey guys, let's say I have a function
PHP код:
AddBan(playeridplayername[], bannername[], banreason[], bannedip[]) 
How can I do that when I type AddBan and hit SHIFT+( it will show me the requested parameters like in any other in-built function ?
Reply
#2

Write this over the function and put the function in a seperate include:

PHP код:
/*
    native AddBan(playerid, playername[], bannername[], banreason[], bannedip[]);
*/ 
And then restart Pawn
Reply
#3

Also note, it has to be in an include for this to work in Pawno.


Another reason you shouldn't be using Pawno.
Reply
#4

Yeah I never liked Pawno, its too limited in its functionality, and if your someone like me who writes in multiple different scripting and programming languages, it becomes annoying to have to use different editors.

This is why I use Sublime Text, it has all the basic stuff I need as well as a community that provides plugin to make coding much easier.

Go try the Sublime Text trial, or try Atom, Atom is similar to Sublime in many ways and is free. However I think SouthClaw made a plugin for Sublime that is only supported by Sublime. So thats one reason I myself have never gone to Atom.

Give it a shot, or try ******* and see what others may say.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)