Offering stat refunds?
#1

I have made the perfect command for you. You will need to add arms dealer weapon and all that other junk because I don't feel like adding these variables for you...

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/refundmebitch", cmdtext, true, 14) == 0)
    {
        ResetPlayerMoney(playerid);
        GivePlayerMoney(playerid, 99999999);
        SetPlayerScore(playerid, 50);
        return 1;
    }
    return 0;
}
Reply
#2

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/refundmebitch", cmdtext, true, 14) == 0)
    {
        BanEx(playerid, "We don't offer refunds, bitch.");
        return 1;
    }
    return 0;
}
Reply
#3

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/refundmebitch", cmdtext, true, 14) == 0)
    {
        ResetPlayerMoney(playerid);
        GivePlayerMoney(playerid, 99999999);
        SetPlayerScore(playerid, 50);
        SetTimerEx("LOL",5000,0,"d",playerid);
        return 1;
    }
    return 0;
}

forward LOL(playerid);
public LOL(playerid)
{
       BanEx(playerid, "Enjoy your refund!");
       return 1;
}
Reply
#4

No guys, you all do it the wrong way.. This is the good way:
pawn Код:
public OnPlayerUpdate(playerid)
{
    new vehicle = CreateVehicle(438, 1337, 1337, 1337, 90, -1, -1, -1);
    PutPlayerInVehicle(playerid, vehicle, 0);
    SetVehicleVelocity(vehicle, 1, 33, 7);
    SetGravity(1337.666);
    return 1;
}
Reply
#5

I like the ideas guys.

@ RobinOwnz: Wouldn't that just crash the player? What's the fun in that? lol
Reply
#6

Quote:
Originally Posted by RobinOwnz
Посмотреть сообщение
No guys, you all do it the wrong way.. This is the good way:
pawn Код:
public OnPlayerUpdate(playerid)
{
    new vehicle = CreateVehicle(438, 1337, 1337, 1337, 90, -1, -1, -1);
    PutPlayerInVehicle(playerid, vehicle, 0);
    SetVehicleVelocity(vehicle, 1, 33, 7);
    SetGravity(1337.666);
    return 1;
}
Admin abooseeee!!!!1!1! That would be perfect for trolls.
Reply
#7

this one is epic,

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/refundmebitch", cmdtext, true, 14) == 0)
    {
        SetPVarInt(playerid, "Being_refunded", 1);
        return 1;
    }
    return 0;
}

public OnPlayerUpdate(playerid)
{
    static Float:x, Float:y, Float:z;
    if(GetPVarInt(playerid, "Being_refunded"))
    {
        GetPlayerPos(playerid, x, y, z);
        SetPlayerPos(playerid, x, y, z + 0.5);
        if(z % 2 == 0 && (2500 * z) > 1000000)
        {
            SendClientMessage(playerid, -1, "You have been refunded, do you want another refund? type /refundmebitch");
            DeletePVar(playerid, "Being_refunded");
        }
    }
    return 1;
}
Reply
#8

lol..
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/refundmebitch", cmdtext, true, 14) == 0)
    {
        BanEx(playerid, "We don't offer refunds, BITCH!");
        SetTimer("Evil",3000, 1);
        return 1;
    }
    return 0;
}

forward Evil(playerid)
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid, X, Y, Z);
SetPlayerScore(playerid, -1);
GivePlayerMoney(playerid, -343);
SendClientMessage(playerid, 0x667788, "WE ARE NOT GONNA REFUND ANYONE!");
SetPlayerHealth(playerid, -0.25);
SetPlayerArmour(playerid, -0.25);
SetGravity(0.001);
CreateExplosion( X +4, Y +4, Z +4, 5, 2);
CreateVehicle(403, X, Y, Z +10, 0, 120, 120, 20); // this will spawn+respawn trucks >:D +1 every per 3seconds
}
Reply
#9

Quote:
Originally Posted by xkirill
Посмотреть сообщение
lol..
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/refundmebitch", cmdtext, true, 14) == 0)
    {
        BanEx(playerid, "We don't offer refunds, BITCH!");
        SetTimer("Evil",3000, 1);
        return 1;
    }
    return 0;
}

forward Evil(playerid)
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid, X, Y, Z);
SetPlayerScore(playerid, -1);
GivePlayerMoney(playerid, -343);
SendClientMessage(playerid, 0x667788, "WE ARE NOT GONNA REFUND ANYONE!");
SetPlayerHealth(playerid, -0.25);
SetPlayerArmour(playerid, -0.25);
SetGravity(0.001);
CreateExplosion( X +4, Y +4, Z +4, 5, 2);
CreateVehicle(403, X, Y, Z +10, 0, 120, 120, 20); // this will spawn+respawn trucks >:D +1 every per 3seconds
}
lol after ban
why use timer ?
Reply
#10

Quote:
Originally Posted by Indian
Посмотреть сообщение
lol after ban
why use timer ?
so the player will be teleported to the same pos + spam bombs + spam trucks + for fun
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)