23.12.2009, 07:55
- These are the teleports
They are as follows:- /abaseair
- /abase
commands need RCON login first they are rcon only
Код:
if(strcmp(cmdtext,"/abaseair",true)==0 && IsPlayerAdmin(playerid)){ { ResetPlayerWeapons(playerid); new vehicleid = GetPlayerVehicleID(playerid); if(IsPlayerInAnyVehicle(playerid)) { SetVehiclePos(vehicleid, 346.0735168457, 3078.7822265625, 4.4871664047241); SendClientMessage(playerid,0xF600F6F6,"Welcome to Army Base Airport"); } else { SetPlayerPos(playerid, 346.0735168457, 3078.7822265625, 4.4871664047241); SendClientMessage(playerid,0xF600F6F6,"Welcome to Army Base Airport"); { return 1; } } return 1; } } if(strcmp(cmdtext,"/abase",true)==0 && IsPlayerAdmin(playerid)){ { ResetPlayerWeapons(playerid); new vehicleid = GetPlayerVehicleID(playerid); if(IsPlayerInAnyVehicle(playerid)) { SetVehiclePos(vehicleid, 252.6200500488, 2960.98754882881, 4.186222076415); SendClientMessage(playerid,0xF600F6F6,"Welcome to Army Base"); } else { SetPlayerPos(playerid, 252.6200500488, 2960.98754882881, 4.186222076415); SendClientMessage(playerid,0xF600F6F6,"Welcome to Army Base"); { return 1; }{ return 1; }}