Deathmatch zone
#2

pawn Код:
if(!strcmp(cmdtext,"/namai",true) || !strcmp(cmdtext, "/namo",true) || !strcmp(cmdtext, "/home",true))
{
if (DM[playerid] == 1)
{
SendClientMessage(playerid, COLOR_RED, "You cant use commands while in Deathmatch zone");
}
else if (DM[playerid] == 0 || IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),-1797.1227,913.9786,408.3081);
SetVehicleZAngle(GetPlayerVehicleID(playerid), 138.0194);
SetCameraBehindPlayer(playerid);
}
else
{
SetPlayerPos(playerid, -1752.5966, 893.0681, 299.4500);
SetPlayerFacingAngle(playerid, 270.6842);
SetCameraBehindPlayer(playerid);
}
return 1;
}
I think that would work.
Reply


Messages In This Thread
Deathmatch zone - by fiordas - 16.02.2009, 13:11
Re: Deathmatch zone - by SpiderPork - 16.02.2009, 13:29
Re: Deathmatch zone - by fiordas - 16.02.2009, 13:42
Re: Deathmatch zone - by SpiderPork - 16.02.2009, 14:42
Re: Deathmatch zone - by harrold - 16.02.2009, 14:43
Re: Deathmatch zone - by fiordas - 16.02.2009, 14:56
Re: Deathmatch zone - by fiordas - 16.02.2009, 16:14

Forum Jump:


Users browsing this thread: 1 Guest(s)