Speeding Coding up.
#1

Hey,

At the current time, I am writing full code:

pawn Код:
if(!strcmp(params, "ammu", false, strlen(params)) || !strcmp(params, "lspd", false, strlen(params)) || !strcmp(params, "sfpd", false, strlen(params)) || !strcmp(params, "sasd", false, strlen(params)) || !strcmp(params, "noose", false, strlen(params)) || !strcmp(params, "bank", false, strlen(params)) || !strcmp(params, "cityhall", false, strlen(params)) || !strcmp(params, "tp", false, strlen(params)))
I was wondering, how would I convert this into a list? If possible of course, like:

pawn Код:
new AntiAdminAbuseTp
{
... Items Here...
}
Could someone explain how this would work ?

Thanks,

-Mike.
Reply


Messages In This Thread
Speeding Coding up. - by MZ5 - 27.07.2012, 01:08
Re: Speeding Coding up. - by SuperViper - 27.07.2012, 01:15
Re: Speeding Coding up. - by MZ5 - 27.07.2012, 01:18
Re: Speeding Coding up. - by SuperViper - 27.07.2012, 01:19

Forum Jump:


Users browsing this thread: 1 Guest(s)