26.06.2011, 07:03
i put this in my gamemode
but weapon has no damage,,,
i cant shoot other players, they just like using godmode, but not,,
all weapon couldnt kill player,,, it happened with all player in my server
pls help
Quote:
public GivePlayerSomeWeaps(playerid) { SetTimerEx("Hidetext", 3000, 0, "i", playerid); SetTimerEx("Rankbonus",1000,0,"i", playerid); TextDrawShowForPlayer(playerid, Textyoit); if(GetPlayerSkin(playerid) == 111 || GetPlayerSkin(playerid) == 124 || GetPlayerSkin(playerid) == 70 || GetPlayerSkin(playerid) == 112 ) //assault { GivePlayerWeapon(playerid, 31, 150); GivePlayerWeapon(playerid, 29, 100); GivePlayerWeapon(playerid, 25, 25); GivePlayerWeapon(playerid, 23, 200); SetPlayerTeam(playerid, 1); } if(GetPlayerSkin(playerid) == 287 || GetPlayerSkin(playerid) == 120 || GetPlayerSkin(playerid) == 68 || GetPlayerSkin(playerid) == 113) //anti-tank { GivePlayerWeapon(playerid, 16, 15); GivePlayerWeapon(playerid, 18, 10); GivePlayerWeapon(playerid, 35, 20); GivePlayerWeapon(playerid, 24, 25); SetPlayerTeam(playerid, 1); } if(GetPlayerSkin(playerid) == 285 || GetPlayerSkin(playerid) == 294 || GetPlayerSkin(playerid) == 59 || GetPlayerSkin(playerid) == 114) //Support Squad { GivePlayerWeapon(playerid, 26, 25); GivePlayerWeapon(playerid, 34, 15); GivePlayerWeapon(playerid, 32, 200); GivePlayerWeapon(playerid, 31, 100); GivePlayerWeapon(playerid, 8, 1); GivePlayerWeapon(playerid, 36, 10); SetPlayerTeam(playerid, 1); } return 1; } |
i cant shoot other players, they just like using godmode, but not,,
all weapon couldnt kill player,,, it happened with all player in my server
pls help