Army-base V3 (My first ever creation and release)
#2

  • These are the teleports

    They are as follows:
    • /abaseair
    Teleport to the airstrip
    • /abase
    Teleport to the Base itself
    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;
 	}}
Sorry for so many posts it just the code goes pase the 2000 limit
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)