Help on getrefund
#1

Hey guys, i try to make my own command, but i got this error. I don't know how to fix it, i'm newbie only on scripting.

Here's the error.

Код:
C:\Users\aNdRe\Downloads\UnderWorld Roleplay\UnderWorld Roleplay\gamemodes\UWRP16 - Copy.pwn(12868) : warning 217: loose indentation
C:\Users\aNdRe\Downloads\UnderWorld Roleplay\UnderWorld Roleplay\gamemodes\UWRP16 - Copy.pwn(12870) : warning 217: loose indentation
C:\Users\aNdRe\Downloads\UnderWorld Roleplay\UnderWorld Roleplay\gamemodes\UWRP16 - Copy.pwn(12875) : error 010: invalid function or declaration
C:\Users\aNdRe\Downloads\UnderWorld Roleplay\UnderWorld Roleplay\gamemodes\UWRP16 - Copy.pwn(12878) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Here's the line.

Код:
CMD:getrefund(playerid, params[])
{
	if(PlayerInfo[playerid][pConnectTime] < 1)
	{
		SendClientMessage(playerid, COLOR_GRAD1, "You can't get your refunds, you need to have a 3 hours playing time!");
		return 1;
	 }
	 if(PlayerInfo[playerid][pConnectTime] <3)
	     PlayerInfo[playerid][pCash] = 100000;
	     PlayerInfo[playerid][pMats] = 1000;
	     PlayerInfo[playerid][pLevel] = 3;
	     PlayerInfo[playerid][pDonator] = 3;
	     return 1;
	 }
	 if(PlayerInfo[playerid][pConnectTime] <3)
	 {
		 SendClientMessage(playerid, COLOR_GRAD1, "Thanks for getting your refund! Enjoy!");
		 return 1;
	  }
   }
}
Reply


Messages In This Thread
Help on getrefund - by edgargreat - 12.05.2013, 00:07
Re: Help on getrefund - by [HiC]TheKiller - 12.05.2013, 00:10
Re: Help on getrefund - by JJB562 - 12.05.2013, 00:11
Re: Help on getrefund - by edgargreat - 12.05.2013, 00:25
Re: Help on getrefund - by edgargreat - 12.05.2013, 00:39
Re: Help on getrefund - by George_Fratelli - 18.05.2013, 15:20

Forum Jump:


Users browsing this thread: 2 Guest(s)