• Welcome to Vice City Multiplayer.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - tato

#1
Quote from: Kill3R on April 24, 2011, 09:50:23 PM
Quote from: Morphine on April 24, 2011, 08:20:12 PM
Quote from: tato on April 24, 2011, 08:06:28 PM
the remote grenade will work?
That's definitely a useful hand-held weapon. Will it? :D

nope, they aren't synced atm  :-X
WHY!!! i really wan't that wep foo!!!
#2
General Discussion / Re: Breaking New's :*(
April 27, 2011, 04:01:27 AM
i don't hate u X_X
#3
mIRC/pawn Scripting / Re: [PAWN][Help]Spawn Command
April 27, 2011, 03:59:53 AM
create vehicle does not work
#5
the remote grenade will work?
#6
OMG this is coool!!!
#7
General Discussion / Re: [EK] | **.::GAME OVER::.**
April 24, 2011, 07:59:33 PM
:O!! my name is there ...i like your server :D
#8
General Discussion / Re: Suggestions for Version 0.4
April 24, 2011, 07:58:57 PM
Quote from: StriKe on April 22, 2011, 09:08:59 PM
No latest vids atm

http://i.imgur.com/DGKXr.jpg
:O!!! those are objects COOL!! i will do my vcmp server like my vco server :D
#9
General Discussion / Re: Happy Easter ! (*_*)
April 24, 2011, 07:57:34 PM
Quote from: [AoD]NC on April 24, 2011, 11:13:10 AM
Happy easter to everyone :).
God bless you!
thank you God bless you too and all of you :D
#10
Quote from: heekz.shadow on April 24, 2011, 03:21:15 PM
Quote from: tato on April 22, 2011, 10:09:39 PM
Come on Guys he mean this
The command is for Gups :D

here finally i got the code

first add this command

else if (strcmp(cmd, "wepall", true) == 0) {
     tmp = strtok(cmdtext, idx);
       new szMsg[256];
if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "Necesitas loguear primero");
else if(!IsPlayerCommandLevel(playerid,"setwep")) SendClientMessage(playerid, COLOR_RED, "No tienes acceso a ese comando!");
else if (!strlen(tmp)) SendClientMessage(playerid,COLOR_RED,"[Syntax] - The correct use: /c wepall <weapon/id>.");
else {
format(szMsg,sizeof(szMsg),"Admin %s sent to all players a wepon: %s.",gPlayers[playerid],GetWeaponNameID(FindWepIDFromString(tmp)));
SendClientMessageToAll(COLOR_GREEN,szMsg);
WepAll(tmp);
}
return 1;
}

next step add this public     
public GetWeaponNameID(wep)
{
new w[256];
if (wep == 1) w = "Brass Knuckle";
    if (wep == 2) w = "Screw Driver";
if (wep == 3) w = "Golf Club";
if (wep == 4) w = "Night Stick";
if (wep == 5) w = "Knife";
if (wep == 6) w = "Baseball Bat";
    if (wep == 7) w = "Hammer";
if (wep == 8) w = "Cleaver";
if (wep == 9) w = "Machete";
if (wep == 10) w = "Katana";
if (wep == 11) w = "Chainsaw";
    if (wep == 12) w = "Grenade";
if (wep == 13) w = "Remote Grenade";
if (wep == 14) w = "TearGas";
if (wep == 15) w = "Molotov";
if (wep == 16) w = "Missile";
    if (wep == 17) w = "Colt45";
if (wep == 18) w = "Python";
if (wep == 19) w = "Shotgun";
if (wep == 20) w = "Spaz";
if (wep == 21) w = "Stubby";
    if (wep == 22) w = "Tec9";
if (wep == 23) w = "Uzi";
if (wep == 24) w = "Ingrams";
if (wep == 25) w = "MP5";
if (wep == 26) w = "M4";
    if (wep == 27) w = "Ruger";
if (wep == 28) w = "Sniper Rifle";
if (wep == 29) w = "Laser Scope";
if (wep == 30) w = "Rocket Launcher";
if (wep == 31) w = "Flame Thrower";
    if (wep == 32) w = "M60";
    if (wep == 33) w = "Minigun";
    if (wep == 35) w = "Heli-Cannon";
    if (wep == 39) w = "Vehicle";
    if (wep == 41) w = "Explosion";
    if (wep == 42) w = "Drive-By";
    if (wep == 43) w = "Drowned";
    if (wep == 60) w = "Heli-Blades";
return w;
}

next step add this stock
stock WepAll(weapon[])
{
new wep = FindWepIDFromString(weapon);
    for(new i = 0; i <= MAX_PLAYERS; i++) {
        if(IsPlayerConnected(i) == 1) SetPlayerWeapon(i,wep,9999);
     }
}

Credits: Madara & Tato
FAIL! if he isnt using gups he dont got WEPALL and credits to madara not you and to gups scripters
you are the one who fail cuz 1st he is using gups 2cond i help to make that command and madara helped me too and i forgot gups scripters  :P
#11
ShowRoom (pawn) / Re: Flip Command PAWNO!!!
April 23, 2011, 09:30:04 PM
Quote from: DeWilX on April 23, 2011, 10:40:59 AM
Lol this command fails, when I type "!flip" nothing, but when I type "/c !flip" works..   >:(
LOLZ!!!!!!!!!!!!!! you put it in the wrong callback
#12
i will do it X_X
#13
ShowRoom (pawn) / Re: SetVehiclePos?!?!
April 22, 2011, 11:55:32 PM
Quote from: stormeus on April 22, 2011, 09:55:15 PM
I think we're starting to go a little off topic here. The topic creator hasn't been in this topic for three months, so it's safe to lock it.
i know huh XD i think my function works i don't know
#14
Come on Guys he mean this
The command is for Gups :D

here finally i got the code

first add this command

else if (strcmp(cmd, "wepall", true) == 0) {
    tmp = strtok(cmdtext, idx);
      new szMsg[256];
if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "Necesitas loguear primero");
else if(!IsPlayerCommandLevel(playerid,"setwep")) SendClientMessage(playerid, COLOR_RED, "No tienes acceso a ese comando!");
else if (!strlen(tmp)) SendClientMessage(playerid,COLOR_RED,"[Syntax] - The correct use: /c wepall <weapon/id>.");
else {
format(szMsg,sizeof(szMsg),"Admin %s sent to all players a wepon: %s.",gPlayers[playerid],GetWeaponNameID(FindWepIDFromString(tmp)));
SendClientMessageToAll(COLOR_GREEN,szMsg);
WepAll(tmp);
}
return 1;
}

next step add this public    
public GetWeaponNameID(wep)
{
new w[256];
if (wep == 1) w = "Brass Knuckle";
   if (wep == 2) w = "Screw Driver";
if (wep == 3) w = "Golf Club";
if (wep == 4) w = "Night Stick";
if (wep == 5) w = "Knife";
if (wep == 6) w = "Baseball Bat";
   if (wep == 7) w = "Hammer";
if (wep == 8) w = "Cleaver";
if (wep == 9) w = "Machete";
if (wep == 10) w = "Katana";
if (wep == 11) w = "Chainsaw";
   if (wep == 12) w = "Grenade";
if (wep == 13) w = "Remote Grenade";
if (wep == 14) w = "TearGas";
if (wep == 15) w = "Molotov";
if (wep == 16) w = "Missile";
   if (wep == 17) w = "Colt45";
if (wep == 18) w = "Python";
if (wep == 19) w = "Shotgun";
if (wep == 20) w = "Spaz";
if (wep == 21) w = "Stubby";
   if (wep == 22) w = "Tec9";
if (wep == 23) w = "Uzi";
if (wep == 24) w = "Ingrams";
if (wep == 25) w = "MP5";
if (wep == 26) w = "M4";
   if (wep == 27) w = "Ruger";
if (wep == 28) w = "Sniper Rifle";
if (wep == 29) w = "Laser Scope";
if (wep == 30) w = "Rocket Launcher";
if (wep == 31) w = "Flame Thrower";
   if (wep == 32) w = "M60";
   if (wep == 33) w = "Minigun";
   if (wep == 35) w = "Heli-Cannon";
   if (wep == 39) w = "Vehicle";
   if (wep == 41) w = "Explosion";
   if (wep == 42) w = "Drive-By";
   if (wep == 43) w = "Drowned";
   if (wep == 60) w = "Heli-Blades";
return w;
}

next step add this stock
stock WepAll(weapon[])
{
new wep = FindWepIDFromString(weapon);
   for(new i = 0; i <= MAX_PLAYERS; i++) {
       if(IsPlayerConnected(i) == 1) SetPlayerWeapon(i,wep,9999);
    }
}

Credits: Madara & Tato, Gups scripters
#15
ShowRoom (pawn) / Re: SetVehiclePos?!?!
April 22, 2011, 08:14:26 AM
try this
SetVehiclePos(GetPlayerVehicleID(playerid),X,Y,Z,Angle);
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
RemovePlayerFromVehicle(playerid);
SetVehicleToRespawn(vehicleid);
SetVehiclePos(SetVehiclePos(GetPlayerVehicleID(playerid),X,Y,Z,Angle);