• 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 - chn batista

#16
mIRC/pawn Scripting / Re: a little question
March 03, 2010, 03:31:00 PM
thanks Boss  :)
#17
mIRC/pawn Scripting / Re: a little question
March 03, 2010, 03:17:17 PM
thanks i made it like this
else if (strcmp(cmd, "!wep", true) == 0) {
    new tmp2[256], wep;
tmp = strtok(cmdtext, idx), tmp2 = strtok(cmdtext, idx);
        if(wep_init != 33) GivePlayerWeapon(playerid,0,1);
        else SendClientMessage(playerid,COLOR_RED,"No minigun for you, sorry.");
        if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "You need to login first!");
else if (!strlen(tmp2)) SendClientMessage(playerid, COLOR_GREEN, "USAGE: !wep [WeaponName/ID] [Ammo]");
else {
wep = FindWepIDFromString(tmp);
SetPlayerWeapon(playerid,wep,strval(tmp2));
}
return 1;
}
#18
mIRC/pawn Scripting / a little question
March 03, 2010, 02:14:01 PM
gWeapons[33] = "Minigun";
i found it in pwn file i don't want player get minigun by !wep command
i should change to gWeapons[33] = "none"; ?
#19
mIRC/pawn Scripting / Re: Check Cmd
March 03, 2010, 06:01:15 AM
thanks for help :)
if i have more question i will start a new topic :)
#20
mIRC/pawn Scripting / Re: Check Cmd
March 02, 2010, 02:47:18 PM
i fix that just like this
#include <a_vcmp>
#include <core>
#include <float>
#include <dini>
#include <dudb>
#include <dutils>
forward AntiCheat(playerid);
static szGameModeName[128] = "GUPS 1.15";
static szGameModeAuthorName[128] = "Falcon, Tamas, Xerxes, PlayerX";


#21
mIRC/pawn Scripting / Re: Check Cmd
March 02, 2010, 02:36:47 PM
forward AntiCheat(playerid);
where i add that? top of gamemode? where?
#22
mIRC/pawn Scripting / Re: Check Cmd
March 02, 2010, 02:24:37 PM
Quote from: Ettans on March 02, 2010, 01:57:16 PM
I did an automatic HP/Armour check for you. It runs every minute and checks if the players HP or Armour is over 75.


/* Add to the top of your gamemode */
forward AntiCheat(playerid);

/* Add to OnGameModeInit callback */
SetTimer("AntiCheat",60000,1);

/* Add anywhere in your script */
public AntiCheat(playerid)
{
    for(new i = 0; i < 50; i++)
    {
        if(IsPlayerConnected(i))
{
    new Float:hp,
Float:armour;

    if(GetPlayerHealth(i,hp) > 75)
    {
        /* HP over 75, do your stuff here */
    }
    else if(GetPlayerArmour(i,armour) > 75)
    {
        /* Armour over 75, do your stuff here */
    }
        }
    }
    return 1;
}


Pastebin link: http://pastebin.com/BkRanF2a
thank you very much! :)
#23
mIRC/pawn Scripting / Re: Check Cmd
March 02, 2010, 01:47:46 PM
i want to use it on pawno server thijn can you help me? thanks ;)
#24
ShowRoom (pawn) / Re: gamemode 'Stunt Server'
March 01, 2010, 11:46:59 AM
C:\123\gamemodes\Dev.pwn(334) : warning 202: number of arguments does not match definition
C:\123\gamemodes\Dev.pwn(334) : warning 202: number of arguments does not match definition
C:\123\gamemodes\Dev.pwn(342) : warning 202: number of arguments does not match definition
C:\123\gamemodes\Dev.pwn(342) : warning 202: number of arguments does not match definition
C:\123\gamemodes\Dev.pwn(351) : warning 202: number of arguments does not match definition
C:\123\gamemodes\Dev.pwn(351) : warning 202: number of arguments does not match definition
C:\123\gamemodes\Dev.pwn(360) : warning 202: number of arguments does not match definition
C:\123\gamemodes\Dev.pwn(360) : warning 202: number of arguments does not match definition
C:\123\gamemodes\Dev.pwn(368) : warning 202: number of arguments does not match definition
C:\123\gamemodes\Dev.pwn(368) : warning 202: number of arguments does not match definition
C:\123\gamemodes\Dev.pwn(376) : warning 202: number of arguments does not match definition
C:\123\gamemodes\Dev.pwn(376) : warning 202: number of arguments does not match definition
C:\123\gamemodes\Dev.pwn(387) : warning 202: number of arguments does not match definition
C:\123\gamemodes\Dev.pwn(387) : warning 202: number of arguments does not match definition
Pawn compiler 3.0.3367         Copyright (c) 1997-2005, ITB CompuPhase


14 Warnings.

i got 14 errors :P
#25
ShowRoom (pawn) / Re: General Use Pawn Scripts 1.15
February 27, 2010, 09:41:23 AM
Quote from: Ettans on February 27, 2010, 09:08:41 AM
You don't have dudb.inc in /pawno/includes directory.

http://dracoblue.net/download/dudb-24/31/
thank you very much!! :)
#26
ShowRoom (pawn) / Re: General Use Pawn Scripts 1.15
February 27, 2010, 02:41:44 AM
C:\123\GUPS1.15\gamemodes\mode.pwn(5) : fatal error 100: cannot read from file: "dudb"

Compilation aborted.Pawn compiler 3.0.3367         Copyright (c) 1997-2005, ITB CompuPhase


1 Error.

have error?
#27
rcon.exe where i can get it
#28
mIRC/pawn Scripting / can i speak to the server(pawno)
February 26, 2010, 11:41:30 AM
i have a qustion i want to talk to in game player (i'm not in game)
how can i do this?
sorry for my bad english :)
#29
ShowRoom (pawn) / Re: VC-MP STUNT Map v1.0 by HeToN
February 24, 2010, 05:46:36 AM
nice
#30
ShowRoom (pawn) / Re: Builder commands.
February 20, 2010, 03:07:45 PM
nice:)