refunding problem! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: refunding problem! (
/showthread.php?tid=475114)
refunding problem! -
Moneymachine - 11.11.2013
PHP код:
format(szMessage, sizeof(szMessage), "{AA3333}Setup{FFFF00}: %s (%d) has joined Prime Generation Roleplay.", GetPlayerNameEx(playerid), playerid);
ABroadCast(COLOR_LIGHTRED,szMessage, 2);
SendClientMessageEx(playerid,COLOR_YELLOW,"Welcome to Los Santos!");
SendClientMessageEx(playerid, COLOR_WHITE, "If you need help do /requesthelp and someone will come help you.");
SendClientMessageEx(playerid, COLOR_WHITE, "Please follow Server Rules to prevent being Jailed/Banned.");
SendClientMessageEx(playerid, COLOR_WHITE, "You have been automatically refunded, please do not report for more. Do not report for a faction/family; see our forums for that.");
SetPlayerPosEx(playerid, 1715.1201,-1903.1711,13.5665);
SetPlayerFacingAngle(playerid, 360.0);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pVIPM] = VIPM;
VIPM++;
PlayerInfo[playerid][pVIPExpire] = gettime()+2592000;
PlayerInfo[playerid][pDonateRank] = 2;
PlayerInfo[playerid][pTempVIP] = 0;
PlayerInfo[playerid][pBuddyInvited] = 0;
SetPVarInt(playerid, "VehicleRefund", 1);
SendClientMessageEx(playerid, COLOR_ORANGE, "* You have been allowed one free vehicle! (/vrefund)");
I found these, can't find the money amount that the server will refund! or (pot,materials,crack,bankmoney)
The server is edit of GF (NGRP), using mysql
Re: refunding problem! -
Loot - 11.11.2013
Looks like it first set you as a temp. VIP, and also set a few variables (most likely refunds), refunds are not always about
MONEY(!):
pawn Код:
PlayerInfo[playerid][pVIPM] = VIPM;
PlayerInfo[playerid][pVIPExpire] = gettime()+2592000;
PlayerInfo[playerid][pDonateRank] = 2; // donator rank 2
PlayerInfo[playerid][pTempVIP] = 0;
PlayerInfo[playerid][pBuddyInvited] = 0;
SetPVarInt(playerid, "VehicleRefund", 1); // refund a vehicle(?)
Re: refunding problem! -
Moneymachine - 11.11.2013
I dont think so, that's just the time when the vip expires. and donaterank is (bronze,silver,gold,platinum) VIP, When i make a new account i will have 5,5millions of money and lots of materials, pot and crack!
Re: refunding problem! -
Pottus - 11.11.2013
Just to let you know for future reference no one here is going to help you edit your script edit of NGRP. Why is that? You should ask the author of the script for help if you have a problem, most questions here should pertain to problems that people have who know how to script already.