23.12.2009, 22:29
pawn Код:
if(strcmp(cmd, "/dolacz", true) == 0)
{
if(ONWG[playerid] == 0)
{
if(WG40[playerid] == 1)
{
if(P30[playerid] == 1)
{
for(new i; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i)) P29[i] = 1, P30[i] = 0;
}
ONWG[playerid] = 1;
GivePlayerWeapon(playerid, 343, 999);
GivePlayerWeapon(playerid, 348, 999);
GivePlayerWeapon(playerid, 351, 999);
GivePlayerWeapon(playerid, 355, 999);
GivePlayerWeapon(playerid, 353, 999);
PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0);
SetPlayerInterior(playerid, 15);
SetPlayerPos(playerid,2190.2075,-1141.6069,1029.7969);
SetPlayerFacingAngle(playerid, 173.8527);
TogglePlayerControllable(playerid, 0);
SetPlayerColor(playerid, COLOR_LIGHTBLUE);
SetPlayerVirtualWorld(playerid, 1);
SetPlayerSkin( playerid, 116 );//groove leader
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
SetPlayerCameraPos(playerid,2202.3303,-1145.6052,1029.7969);
SetPlayerCameraLookAt(playerid,2191.4968,-1138.7035,1029.7969);
}