Need Help With Player Variables
#1

I'm Trying to make a Script that sees where you are in a Background Story (that has multiple parts)
throught Pvars (I don't know if it's the best way, if there is a better way please tell me)

Код:
Line 91: SetPVarInt(playerid, "BSP", 0);
This is To Show that I did set it

Код:
Line 119: if (GetPVarInt(playerid, "BSP")) = 0;
  	  Line 120	{
          Line 121 - 134: //Part One Text
          Line 135: SetPVarInt(playerid, "BSP", 1);
          Line 136: }
          Line 137: if (GetPVarInt(playerid, "BSP")) = 1;
          Line 121:	{
          Line 121-(not done yet): //Part Two Text
          Line ???: {
          Line ???: SetPVarInt(playerid, "BSP", 2);
          etc......
And I get These Errors
Код:
D:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\XXXXX.pwn(119) : error 029: invalid expression, assumed zero
D:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\XXXXX.pwn(119) : warning 215: expression has no effect
D:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\XXXXX.pwn(137) : error 029: invalid expression, assumed zero
D:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\XXXXX.pwn(137) : warning 215: expression has no effect
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply


Messages In This Thread
Need Help With Player Variables - by Toxas - 06.12.2014, 13:32
Re: Need Help With Player Variables - by PowerPC603 - 06.12.2014, 13:48
Re: Need Help With Player Variables - by Capua - 06.12.2014, 13:52
Re: Need Help With Player Variables - by Toxas - 06.12.2014, 14:03
Re: Need Help With Player Variables - by Toxas - 06.12.2014, 14:09

Forum Jump:


Users browsing this thread: 1 Guest(s)