30.01.2011, 21:40
Hi,
Just wondering if you could help me.
I've got some code I started working on earlier and I came across something which stumped me.
However if I went ingame, and did /addorg 1 San Andreas Police Department
it wouldn't work because ive got spaces between the San Andreas Police Department how can I make it so I can have spaces in the org name?
Just wondering if you could help me.
I've got some code I started working on earlier and I came across something which stumped me.
pawn Код:
dcmd_addorg(playerid, params[])
{
new iD, oName[128];
if(sscanf(params, "is", iD, oName)) return SendClientMessage(playerid, COLOR_RED, "~ Incorrect Usage: /addorg [orgid] [orgname]);
{
//bla
}
return 1;
}
it wouldn't work because ive got spaces between the San Andreas Police Department how can I make it so I can have spaces in the org name?