12.11.2009, 00:06
i allready put that code and btw this is my entire code what i choose from wiki
Код:
if (strcmp(cmdtext, "/duel 1", true) == 0) { SetPlayerVirtualWorld(playerid, 0); if(IsPlayerInAnyVehicle(playerid)) //If they are in a vehicle SetVehicleVirtualWorld(GetPlayerVehicleID(playerid), 0); //Take the vehicle with them return 1; }