19.04.2009, 16:24
Hi folks,
I've a question I would like to know how I do this now when I for example /dm do not then I can use more commands except /dmexit or /leavedm ..
And when you have to confirm the commands comes "You carn't use a command" ..
Please add the entire code
Enter DM
Leave DM
Would be nice if you could help me thank
I've a question I would like to know how I do this now when I for example /dm do not then I can use more commands except /dmexit or /leavedm ..
And when you have to confirm the commands comes "You carn't use a command" ..
Please add the entire code
Enter DM
Код:
if(strcmp("/dm", cmdtext, true, 10) == 0)
{
SetPlayerInterior(playerid, 2);
SetPlayerPos(playerid, 2567.52, -1294.59, 1063.25);
return 1;
}
Код:
if(strcmp("/leavedm", cmdtext, true, 10) == 0)
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 1523.8254,-1359.0087,330.0507);
return 1;
}


