Maybe a simple question
#1

Hi,

I'm a new scripter, and I'm tracing any tutorials there is findable around the web. I know a little how to now, but I need with PAWNO a little help. I want to spawn four Turismo's in front of the spawning area, The High Roller. This is the code for that:
Код:
public OnGameModeInit()
{
	SetGameModeText("ENZOALPHA");
	AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddStaticVehicle(451, 2021,171, 1353,344, 15, 270, 36, 1);
	AddStaticVehicle(451, 2021,171, 1373,344, 15, 270, 36, 1);
	AddStaticVehicle(451, 2021,171, 1393,344, 15, 270, 36, 1);
	AddStaticVehicle(451, 2021,171, 1423,344, 15, 270, 36, 1);
	return 1;
}
When I try to compile it, I get continuously this message:
Код:
enzo.pwn(38) : warning 202: number of arguments does not match definition
<path, left outside>/enzo.pwn(38) : warning 202: number of arguments does not match definition
<path>/enzo.pwn(39) : warning 202: number of arguments does not match definition
<path>/enzo.pwn(39) : warning 202: number of arguments does not match definition
<path>/enzo.pwn(40) : warning 202: number of arguments does not match definition
<path>/enzo.pwn(40) : warning 202: number of arguments does not match definition
<path>/enzo.pwn(41) : warning 202: number of arguments does not match definition
<path>/enzo.pwn(41) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


8 Warnings.
What am I doing wrong?
Reply
#2

Код:
public OnGameModeInit()
{
	SetGameModeText("ENZOALPHA");
	AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddStaticVehicle(451, 2021.171, 1353.344, 15.270, 36, 1);
	AddStaticVehicle(451, 2021.171, 1373.344, 15.270, 36, 1);
	AddStaticVehicle(451, 2021.171, 1393.344, 15.270, 36, 1);
	AddStaticVehicle(451, 2021.171, 1423.344, 15.270, 36, 1);
	return 1;
}
Reply
#3

aaah I see now,

thanx!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)