13.11.2009, 16:43
You can put a space in the command name, you guys are crazy.
Make sure that's under OnPlayerCommandText...
pawn Код:
if (strcmp(cmdtext[1], "duel 1", true) == 0)
{
SetPlayerVirtualWorld(playerid, 1);
if(IsPlayerInAnyVehicle(playerid))SetVehicleVirtualWorld(GetPlayerVehicleID(playerid), 1); //Take the vehicle with them
return 1;
}