new Object;
OnGameModeInit
{
Object = CreateObject(1564, 436.1663, 122.8601, 540.8948, -25.50000, 22.0000, 0, 50);
}
COMMAND:test1(playerid)
{
CreateObject(Object); // LINE 2191
}
bare.pwn(2191) : warning 202: number of arguments does not match definition bare.pwn(2191) : warning 202: number of arguments does not match definition bare.pwn(2191) : warning 202: number of arguments does not match definition bare.pwn(2191) : warning 202: number of arguments does not match definition bare.pwn(2191) : warning 202: number of arguments does not match definition bare.pwn(2191) : warning 202: number of arguments does not match definition
new Object;
public OnGameModeInit()
{
return 1;
}
COMMAND:test1(playerid)
{
Object = CreateObject(1564, 436.1663, 122.8601, 540.8948, -25.50000, 22.0000, 0, 50);
return 1;
}
public OnGameModeInit()
{
Object = CreateObject(1564, 436.1663, 122.8601, 540.8948, -25.50000, 22.0000, 0, 50);
return 1;
}
COMMAND:test1(playerid)
{
CreateObject(Object); // LINE 2191
return 1;
}
Use this one
pawn Code:
|
bare.pwn(551) : warning 204: symbol is assigned a value that is never used: "Object" bare.pwn(2190) : error 017: undefined symbol "Object"
._.
Don't use his code that will give the same error... Use the code given by me in first reply ._. |
COMMAND:test1(playerid)
{
Object = CreateObject(1564, 436.1663, 122.8601, 540.8948, -25.50000, 22.0000, 0, 50); // LINE 2190
return 1;
}
bare.pwn(2190) : warning 204: symbol is assigned a value that is never used: "Object"
//delete the line "new Object"
public OnGameModeInit()
{
return 1;
}
COMMAND:test1(playerid)
{
CreateObject(1564, 436.1663, 122.8601, 540.8948, -25.50000, 22.0000, 0, 50);
return 1;
}
If u dont want to delete the object later in your script then use this
pawn Code:
|
._.
Don't use his code that will give the same error... Use the code given by me in first reply ._. |