Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - ramandu

Pages: [1]
1
mIRC/pawn Scripting / mirc server not on main site
« on: March 23, 2010, 08:30:29 pm »
hi i cant find where to download the mirc server.

is is pointless to use it now?

2
mIRC/pawn Scripting / pawno compiler question
« on: March 03, 2010, 07:42:04 pm »
is there anyway to suppress the warnings for unused variables in the compiler ?

warning 203: symbol is never used: "Player"

i would also like to keep the variable there for potential future use.

thankyou

3
mIRC/pawn Scripting / switch case help
« on: March 03, 2010, 03:43:28 pm »
i'm trying to make a command group hierarchy.

if the players primary group is any of the four in the "case" statement, he has access to all of that groups commands.

but as soon as i increase any of the "case" values above two characters, it throws many compile errors.


Code: [Select]
stock
IsPlayerGroup_Mod(Player[], Primary_Group[])
{

switch (Primary_Group[0])
{


// case 'a', 'b', 'c', 'd' : // ->  works
// case '1', '2', '3', '4': // -> This works too

case 'USER', 'ADMIN', 'HALF-ADMIN', 'MODERATOR': // -> but this dosnt work, why ?
{
return 1;

}
}
return 0;
}

calling syntax: IsPlayerGroup_Mod("Ramandu", "ADMIN");

how do i solve it ?

thankyou very much

4
mIRC/pawn Scripting / joining strings
« on: March 01, 2010, 08:26:23 pm »
how do we join strings with other strings, and strings with integers in pawn?

something like sprintf();

MyString[256] = "this is a test string";
MyInt = 1;

sprintf("%s %s %s %d \n", "this joins", MyString, "with", MyInt);

thankyou very much.

5
mIRC/pawn Scripting / compile error help
« on: February 28, 2010, 11:36:24 pm »
i have started pawn and i am praticing string manipulation

only problem is, i get this compile error.

error 017: undefined symbol "strtok"

what do i need to do to fix it ?

6
mIRC/pawn Scripting / pawn commands
« on: February 28, 2010, 04:03:16 pm »
would someone exaplin which is best way of processing commands in pawn?

strtok
strcmp
dcmd
zcmd

thankyou very much.

7
mIRC/pawn Scripting / probblemn
« on: February 26, 2010, 01:48:24 pm »
how to make me admin in psysqlite 1.0 and howto add other PsyLMS zones??

Pages: [1]