[SOLVED]Help needed
#1

but i still need help
anyways here:
Код:
C:\GTA San Andreas\SA-MP Server\filterscripts\TwinT.pwn(31) : error 010: invalid function or declaration
C:\GTA San Andreas\SA-MP Server\filterscripts\TwinT.pwn(65) : warning 203: symbol is never used: "tower1"
C:\GTA San Andreas\SA-MP Server\filterscripts\TwinT.pwn(65) : warning 203: symbol is never used: "tower1inside"
C:\GTA San Andreas\SA-MP Server\filterscripts\TwinT.pwn(65) : warning 203: symbol is never used: "tower2"
C:\GTA San Andreas\SA-MP Server\filterscripts\TwinT.pwn(65) : warning 203: symbol is never used: "tower2inside"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
i have this at the beginning
Код:
new tower1;
new tower2;
new tower1inside;
new tower2inside;
And this:
Код:
public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" ORLY?");
	print("--------------------------------------\n");
	return 1;
}

1 = CreatePickup(1274, 2, 2491.7900, -1668.1653, 13.3438, -1);
2 = CreatePickup(1274, 2, 2491.7900, -1668.1653, 13.3438, -1);
3 = CreatePickup(1274, 2, 2491.7900, -1668.1653, 13.3438, -1);
4 = CreatePickup(1274, 2, 2491.7900, -1668.1653, 13.3438, -1);

public OnFilterScriptExit()
{
	return 1;
}
line 31:
Код:
1 = CreatePickup(1274, 2, 2491.7900, -1668.1653, 13.3438, -1);
My first FS so PLEAZ GO EASY
Reply
#2

Which one is line 26 ?
Reply
#3

i still need help
Reply
#4

1,2,3,4 is not a valid variable

pawn Код:
tower1 = CreatePickup(1274, 2, 2491.7900, -1668.1653, 13.3438, -1);
tower2 = CreatePickup(1274, 2, 2491.7900, -1668.1653, 13.3438, -1);
tower1inside = CreatePickup(1274, 2, 2491.7900, -1668.1653, 13.3438, -1);
tower2inside = CreatePickup(1274, 2, 2491.7900, -1668.1653, 13.3438, -1);
pawn Код:
(model, type, Float:X, Float:Y, Float:Z, Virtualworld)
Reply
#5

Quote:
Originally Posted by HydraX
1,2,3,4 is not a valid variable
o wait
i just didnt want ppl to know my first FS
so i replaced 1,2,3,4 i actually have tower1 and the others but same error comes >_<
Reply
#6

Quote:
Originally Posted by ClanDBZVegeta
Quote:
Originally Posted by HydraX
1,2,3,4 is not a valid variable
o wait
i just didnt want ppl to know my first FS
so i replaced 1,2,3,4 i actually have tower1 and the others but same error comes >_<
Can't you show what you really have there? Would be a lot easier to help.
Reply
#7

Quote:
Originally Posted by ClanDBZVegeta
Quote:
Originally Posted by HydraX
1,2,3,4 is not a valid variable
o wait
i just didnt want ppl to know my first FS
so i replaced 1,2,3,4 i actually have tower1 and the others but same error comes >_<
Fine then...


This goes at the very top but under the #include's

pawn Код:
new 1;
new 2;
new 3;
new 4;
Put this Under OnFilterScriptInit()

pawn Код:
1 = CreatePickup(1274, 2, 2491.7900, -1668.1653, 13.3438, -1);
2 = CreatePickup(1274, 2, 2491.7900, -1668.1653, 13.3438, -1);
3 = CreatePickup(1274, 2, 2491.7900, -1668.1653, 13.3438, -1);
4 = CreatePickup(1274, 2, 2491.7900, -1668.1653, 13.3438, -1);
Then you need to know what you want the variable to do..

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid) //Pickup callback
{ //Begining bracket
  if(pickupid == 1) GivePlayerMoney(playerid,10000); //pickup new 1;
  if(pickupid == 2) ... //pickup new 2;
  return 1; //Returns the callback
} //ending bracket
Reply
#8

Quote:
Originally Posted by ClanDBZVegeta
Quote:
Originally Posted by HydraX
1,2,3,4 is not a valid variable
o wait
i just didnt want ppl to know my first FS
so i replaced 1,2,3,4 i actually have tower1 and the others but same error comes >_<
if you are working on a FS and wanted secret why didnt you ask a personal friend for help?,and dont re add my xfire btw vegeta
Reply
#9

You could just ask in our forum... I visit it you know..
Reply
#10

Quote:
Originally Posted by patchkinson
Quote:
Originally Posted by ClanDBZVegeta
Quote:
Originally Posted by HydraX
1,2,3,4 is not a valid variable
o wait
i just didnt want ppl to know my first FS
so i replaced 1,2,3,4 i actually have tower1 and the others but same error comes >_<
if you are working on a FS and wanted secret why didnt you ask a personal friend for help?,and dont re add my xfire btw vegeta
i hate you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)