Script Request Thread #5

I've having some problems. My skin isn't saving after a GMX restart. I've tried like everything. Can someone assist me via Teamviewer? Please send me a message. Thank you
Reply

Quote:
Originally Posted by Kingunit
Посмотреть сообщение
I've having some problems. My skin isn't saving after a GMX restart. I've tried like everything. Can someone assist me via Teamviewer? Please send me a message. Thank you
try Y_Less's gmx fix, gmxing isn't really stable
Reply

Quote:
Originally Posted by Kar
Посмотреть сообщение
try Y_Less's gmx fix, gmxing isn't really stable
The weird part is, any other thing is saving (such as Adminlevel, Age etc.)
Reply

Hello, I need a Command, But I dont know how to Make it, I need a Dynamic Gate System, Similar to the NGRP One, But I want it in Either STRCMP or DCMD, And I dont Want to Rip from NGRP Script anyway

This forum requires that you wait 120 seconds between posts. Please try again in 1 seconds.
Reply

Dyanmic gate system...what does it mean ? /opengate & /closegate ?
Reply

Quote:
Originally Posted by Darnell
Посмотреть сообщение
Dyanmic gate system...what does it mean ? /opengate & /closegate ?
Probably that you are able to create a gate ingame along with open/close command.
Reply

@Darnel - I want one Similar to NGRP One, But Not Ripped

@Coffeemonster - Yes, That is The type I want! Have a Rep
Reply

seanny, you can try searching for Seif's Gate Creator
Reply

I got 2 requests.

First is dropgun FS. I know 2 dropgun FS'es which don't work. I can't /pickitem in them. (Modified the command)
So i would like to get a dropgun FS, with /dropgun, OnPlayerDeath and /pickitem. And i want the guns be MODELS, not unrealistic shitty pickups, hehe.

Second is, how to get Intelexe's Roleplay GM to work? I'm getting 26 errors even i do anything, always the errors. The creatorof it ain't interested of the GM he made, i think :/

Btw. If you know any other GOOD RP gamemode, send me a link
Reply

i want to make /factions to show factions, will pay 1$ . PM me.
Reply

Quote:
Originally Posted by Da' J'
Посмотреть сообщение
I got 2 requests.

First is dropgun FS. I know 2 dropgun FS'es which don't work. I can't /pickitem in them. (Modified the command)
So i would like to get a dropgun FS, with /dropgun, OnPlayerDeath and /pickitem. And i want the guns be MODELS, not unrealistic shitty pickups, hehe.

Second is, how to get Intelexe's Roleplay GM to work? I'm getting 26 errors even i do anything, always the errors. The creatorof it ain't interested of the GM he made, i think :/

Btw. If you know any other GOOD RP gamemode, send me a link
1. https://sampforum.blast.hk/showthread.php?tid=151633 it works.Screenshot:http://i46.tinypic.com/22gwvb.jpg
2.You surely modify something, because I don't get any errors.
Reply

And is there a way ro make different types of rep pts ? Like repgold repdilver repbronze repplatina?
Reply

Can I get a Gift Box System, Something like NGRP Only in Strcmp and it must be GF Edit Freindly
Reply

Quote:
Originally Posted by knackworst
View Post
And is there a way ro make different types of rep pts ? Like repgold repdilver repbronze repplatina?
Can you explain it more?
Reply

How can i make different reputation points so u will get this:

Giverep and then u can choose what kind of rep e.x givegoldrep or givesilverrep or givebronzerep or giveplatinarep so there are different types

Or maybe even the ability to use it this way: giverep [player id] [typeof rep]

This is a furture question on my prev asked script
Reply

pawn Code:
#define REP_TYPE_GOLD (0)
#define REP_TYPE_SILVER (1)
#define REP_TYPE_BRONZE (2)
#define REP_TYPE_PLATINA (3)

stock GivePlayerReputation(playerid, type = REP_TYPE_BRONZE)
{
    new REP_pFile[MAX_PLAYER_NAME+19] = "rep_", File:REP_pFileHnd, REP_repNum, REP_tmpStr[11];
    if (!GetPlayerName(playerid, REP_pFile[4], MAX_PLAYER_NAME)) return 0;
    strcat(REP_pFile, ".rep"); valstr(REP_tmpStr, type); strcat(REP_pFile, REP_tmpStr);

    REP_pFileHnd = fopen(REP_pFile, io_readwrite);
    fread(REP_pFileHnd, REP_tmpStr);
    REP_repNum = strval(REP_tmpStr);
    fclose(REP_pFileHnd);
    REP_pFileHnd = fopen(REP_pFile, io_write);
    valstr(REP_tmpStr, ++REP_repNum);
    fwrite(REP_pFileHnd, REP_tmpStr);
    fclose(REP_pFileHnd);

    return REP_repNum;
}

stock GetPlayerReputation(playerid, type = REP_TYPE_BRONZE)
{
    new REP_pFile[MAX_PLAYER_NAME+19] = "rep_", File:REP_pFileHnd, REP_repNum, REP_tmpStr[11];
    if (!GetPlayerName(playerid, REP_pFile[4], MAX_PLAYER_NAME)) return 0;
    strcat(REP_pFile, ".rep"); valstr(REP_tmpStr, type); strcat(REP_pFile, REP_tmpStr);

    if (!fexist(REP_pFile)) return 0;

    REP_pFileHnd = fopen(REP_pFile, io_read);
    fread(REP_pFileHnd, REP_tmpStr);
    REP_repNum = strval(REP_tmpStr);
    fclose(REP_pFileHnd);

    return REP_repNum;
}

// example usage with zcmd + sscanf
CMD:giverep(playerid, params[])
{
    static gRep_playerid, gRep_reptype, gRep_current, gRep_string[128], gRep_reptypeStr[16], gRep_name[24];
    if (sscanf(params, "ui", gRep_playerid, gRep_reptype)) return SendClientMessage(playerid, 0xff0000aa, "* Usage: /giverep [playerid/name] [reputation type]");
    if (gRep_reptype < 0 || gRep_reptype > 3) return SendClientMessage(playerid, 0xff0000aa, "* Valid reputation types: 0-3");
    if (0 == (gRep_current = GivePlayerReputation(gRep_playerid, gRep_reptype)) ) return SendClientMessage(playerid, 0xff0000aa, "* Error while trying to add to player's reputation.");
    switch (gRep_reptype)
    {
        case REP_TYPE_GOLD: gRep_reptypeStr = "Gold";
        case REP_TYPE_SILVER: gRep_reptypeStr = "Silver";
        case REP_TYPE_BRONZE: gRep_reptypeStr = "Bronze";
        case REP_TYPE_PLATINA: gRep_reptypeStr = "Platina";
    }
    GetPlayerName(gRep_playerid, gRep_name, 24);
    format(gRep_string, 128, "* You have added to %s's %s reputation! Player's current %s reputation: %d",
    gRep_name, gRep_reptypeStr, gRep_reptypeStr, gRep_current);
    SendClientMessage(playerid, -1, gRep_string);

    GetPlayerName(playerid, gRep_name, 24);
    format(gRep_string, 128, "* %s's added to your %s reputation! Your current %s reputation: %d",
    gRep_name, gRep_reptypeStr, gRep_reptypeStr, gRep_current);

    return 1;
}
Reply

Thanks alot!
and what about a command to see a list of all the player's reps? like

Bronze rep:
Silver rep:
Gold rep:
Platina rep:

?
in one command?
Reply

Wow, damn your good Koczk!
Reply

GetWeekDay - NO, not the day of the month, but WEEK day. I found it using search, but its created in 2009, so I think its outdated :l

Thanks

EDIT: I found other one, how about this?

pawn Code:
GetWeekDay()
{
    new
        WeekDay[20];

    switch(((gettime()+334800)/86400-(gettime()+334800)/86400/7*7))
    {
        case 0:return 1;
        case 1:return 2;
        case 2:return 3;
        case 3:return 4;
        case 4:return 5;
        case 5:return 6;
        case 6:return 7;
    }
    return -1;
}
Reply

I'm need command for CNN "/live" in zcmd. Can Anyone make me this command please.
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)