31.07.2012, 17:17
What is the maximum weapon ammo? Coz I can't use E to change weapon it's stuck(weapon switch to fast) But Q work nice.
Max weapon ammo is around 600k if i'm correct, that will the ammo value invisible in your weapon HUD
|
CMD:cs(playerid, params[])
{
new string[128], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
format(string, sizeof(string), "{6666FF}(/cs) {00CCFF}%s {6666FF}has Teleported to Counter-Strike Deathmatch",pName);
SendClientMessageToAll(0x6666FFFF, string);
GameTextForPlayer(playerid,"~y~Welcome to ~n~~b~Counter-Strike",2000,3);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 26, 10000); //This give's me bug??
GivePlayerWeapon(playerid, 24, 10000); //This give's me bug??
GivePlayerWeapon(playerid, 28, 10000); //This give's me bug??
GivePlayerWeapon(playerid, 30, 10000); //This give's me bug??
pawn Код:
But When I tried to teleport on this map /cs it gives me weapon but ammo shows. |
CMD:cs(playerid, params[])
{
new string[128], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
format(string, sizeof(string), "{6666FF}(/cs) {00CCFF}%s {6666FF}has Teleported to Counter-Strike Deathmatch",pName);
SendClientMessageToAll(0x6666FFFF, string);
GameTextForPlayer(playerid,"~y~Welcome to ~n~~b~Counter-Strike",2000,3);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 26, 600000);
GivePlayerWeapon(playerid, 24, 600000);
GivePlayerWeapon(playerid, 28, 600000);
GivePlayerWeapon(playerid, 30, 600000);