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.


Messages - chn batista

Pages: [1] 2 3 ... 5
1
mIRC/pawn Scripting / i wanna set world bounds who can help me ? :/
« on: February 02, 2011, 11:13:21 am »
i want add world bounds in a command     like !fight  auto set world bounds to an arena
and !quit set world bounds to normal
SetWorldBounds(5000.0,-5000.0,5000.0,-5000.0);


in pawno can it works?

2
mIRC/pawn Scripting / Re: Server time does not work
« on: July 13, 2010, 10:00:09 am »
this is script bug it can't fix  很久没见 ZJY   :)

3
Support / Re: i need help with my PC
« on: March 29, 2010, 08:21:33 am »
english please :)

4
mIRC/pawn Scripting / problem with script GUPS1.15
« on: March 19, 2010, 08:04:47 am »
i own a car why i can't get my car?

5
mIRC/pawn Scripting / Re: [Want Help] ( Want Some scripts )
« on: March 14, 2010, 06:53:10 am »
you should learn how to make script
when you angry don't use that "F" word! >:(

6
mIRC/pawn Scripting / Re: a little question
« on: March 03, 2010, 05:31:00 pm »
thanks Boss  :)

7
mIRC/pawn Scripting / Re: a little question
« on: March 03, 2010, 05:17:17 pm »
thanks i made it like this
Code: [Select]
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;
}

8
mIRC/pawn Scripting / a little question
« on: March 03, 2010, 04: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"; ?

9
mIRC/pawn Scripting / Re: Check Cmd
« on: March 03, 2010, 08:01:15 am »
thanks for help :)
if i have more question i will start a new topic :)

10
mIRC/pawn Scripting / Re: Check Cmd
« on: March 02, 2010, 04:47:18 pm »
i fix that just like this
Code: [Select]
#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";


11
mIRC/pawn Scripting / Re: Check Cmd
« on: March 02, 2010, 04:36:47 pm »
forward AntiCheat(playerid);
where i add that? top of gamemode? where?

12
mIRC/pawn Scripting / Re: Check Cmd
« on: March 02, 2010, 04:24:37 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.

Code: [Select]
/* 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! :)

13
mIRC/pawn Scripting / Re: Check Cmd
« on: March 02, 2010, 03:47:46 pm »
i want to use it on pawno server thijn can you help me? thanks ;)

14
mIRC/pawn Scripting / Re: can i speak to the server(pawno)
« on: February 26, 2010, 04:37:26 pm »
rcon.exe where i can get it

15
mIRC/pawn Scripting / can i speak to the server(pawno)
« on: February 26, 2010, 01:41:30 pm »
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 :)

Pages: [1] 2 3 ... 5