Re: Script Request Thread #5 -
Kingunit - 31.08.2011
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
Re: Script Request Thread #5 -
Kar - 31.08.2011
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
Re: Script Request Thread #5 -
Kingunit - 31.08.2011
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.)
Re: Script Request Thread #5 -
seanny - 31.08.2011
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.
Re: Script Request Thread #5 -
Darnell - 31.08.2011
Dyanmic gate system...what does it mean ? /opengate & /closegate ?
Re: Script Request Thread #5 -
Coffeemonster - 31.08.2011
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.
Re: Script Request Thread #5 -
seanny - 31.08.2011
@Darnel - I want one Similar to NGRP One, But Not Ripped
@Coffeemonster - Yes, That is The type I want! Have a Rep
Re: Script Request Thread #5 -
Pinguinn - 31.08.2011
seanny, you can try searching for Seif's Gate Creator
Re: Script Request Thread #5 -
Da' J' - 01.09.2011
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
Re: Script Request Thread #5 -
uprp - 01.09.2011
i want to make /factions to show factions, will pay 1$ . PM me.
Re: Script Request Thread #5 -
Jafet_Macario - 02.09.2011
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.
Re: Script Request Thread #5 -
knackworst - 08.09.2011
And is there a way ro make different types of rep pts ? Like repgold repdilver repbronze repplatina?
Re: Script Request Thread #5 -
seanny - 09.09.2011
Can I get a Gift Box System, Something like NGRP Only in Strcmp and it must be GF Edit Freindly
Re: Script Request Thread #5 -
KoczkaHUN - 09.09.2011
Quote:
Originally Posted by knackworst
And is there a way ro make different types of rep pts ? Like repgold repdilver repbronze repplatina?
|
Can you explain it more?
Re: Script Request Thread #5 -
knackworst - 09.09.2011
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
Re: Script Request Thread #5 -
KoczkaHUN - 09.09.2011
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;
}
Re: Script Request Thread #5 -
knackworst - 09.09.2011
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?
Re: Script Request Thread #5 -
knackworst - 09.09.2011
Wow, damn your good Koczk!
Re: Script Request Thread #5 -
Gh0sT_ - 10.09.2011
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;
}
Re: Script Request Thread #5 -
kodiak - 10.09.2011
I'm need command for CNN "/live" in zcmd. Can Anyone make me this command please.