• Welcome to Vice City Multiplayer.
 
Menu

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.

Show posts Menu

Messages - ramandu

#16
mIRC/pawn Scripting / joining strings
March 01, 2010, 05: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.
#17
mIRC/pawn Scripting / Re: compile error help
March 01, 2010, 04:18:26 PM
thankyou, i have another question.

howto check a value is not null after using strtok?

cmd = strtok(Text, idx);

if (strcmp(cmd, " ", true) == 0) { printf("cmd is empty"); } // it always prints "cmd is empty" even if its not

also, am i able to add the strtok function to a .inc file and globally use it. if so, how.

thankyou very much
#18
General Discussion / server hosts
February 28, 2010, 09:09:25 PM
i used to use xserverz but its no longer there, please would someone let me know of a server host with as good reputation as xserverz.

thankyou very much
#19
mIRC/pawn Scripting / compile error help
February 28, 2010, 08: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 ?
#20
mIRC/pawn Scripting / pawn commands
February 28, 2010, 01:03:16 PM
would someone exaplin which is best way of processing commands in pawn?

strtok
strcmp
dcmd
zcmd

thankyou very much.
#21
mIRC/pawn Scripting / probblemn
February 26, 2010, 10:48:24 AM
how to make me admin in psysqlite 1.0 and howto add other PsyLMS zones??