05.11.2012, 17:10
Hey i am in need of a scripter for my server that could do pretty easy things and fix some easy bugs, i cant pay in real money but i can do something... I really would need a scripter so please someone help! PM me.
I need some refund script that when someone register he get autorefund
[pLevel] = 3; [pAccount] = 5000000; [pCash] = 1000000; [pReg] = 1; [pDonateRank] = 2; [pConnectTime] = 12; [pMats] = 50000; [pCrack] = 250; [pPot] = 250; please give me and say me when ineed to pot that |
CMD:refund(playerid, params[]) { PlayerInfo[playerid][pLevel] = 3; PlayerInfo[playerid][pDonateRank] = 2; GivePlayerCash(playerid, 500000); PlayerInfo[playerid][pMats] = 50000; PlayerInfo[playerid][pPot] = 250; PlayerInfo[playerid][pCrack] = 250; PlayerInfo[playerid][pAccount] = 5000000; PlayerInfo[playerid][pConnectTime] = 12; } } return 1; }
For locating, look up the "GeoIP Plugin" and for a maximum ping all you need is a ping kicker, I think there is one supplied as a filterscript with SA:MP but I'm not sure. Dead easy to make though, all you need is GetPlayerPing on a timer checking against a global variable with the maximum in. Make a simple parameter command to set this variable value. And of course introduce some bound checks to ensure you don't set it too low and kick everyone!
|
Guys i need a Command /me <Action> anyone can do it for me ..
not in Public:OnPlayerCommandText i want it in Public : OnPlayerSpawn please |
if(!strcmp(cmdtext, "/me", true, 3)) // 3 is the length of /me
{
if(!cmdtext[3])return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /me [action]");
new str[128];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), "* %s %s", str, cmdtext[4]);
SendClientMessageToAll(0xFFFF00AA, str);
return 1;
}
I don't think you'll find anyone willing to code such a large and generically boring script! There are probably scripts with those exact features somewhere on this forum, and if not you can always download filterscripts (and probably have compatibility problems, conflicts and/or admin rights issues with them being separate scripts) Basically, if you can't be arsed to script, why bother running a server? If you want a server for your clan, there are literally thousands to choose from, the masterlist really doesn't need any more! |
guys please i need a command that if the player in server ... example:
player playing or afk 10mints = 10score , 1mint = 1score , 1540mint = 1540 score please i need help Help Me |
You'll want to disable that on bikes, boats and some other vehicles otherwise I think it crashes the player who typed it and surrounding players.
|
Wow thank you very much +rep for southclaw and adyzta, you rock
Edit : I got errors when i add slap command 175 error 001 : expected token: "-identifier-", but found "new" 179 error 017 : undefined symbol "pos" 179 error 001: expected token: ";", but found "]" 179 error 029: invalid expression, assumed zero Lines: pawn Code:
|