01.07.2012, 09:18
Is There Any Chance To Use RemoveDynamicObject
C:\Users\hp\Desktop\____________________.pawn(121) : error 017: undefined symbol "RemoveDynamicObject" C:\Users\hp\Desktop\____________________.pawn(122) : error 017: undefined symbol "RemoveDynamicObject" C:\Users\hp\Desktop\____________________.pawn(123) : error 017: undefined symbol "RemoveDynamicObject" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.
C:\Users\hp\Desktop\.pwn(121) : warning 202: number of arguments does not match definition C:\Users\hp\Desktop\.pwn(121) : warning 202: number of arguments does not match definition C:\Users\hp\Desktop\.pwn(121) : warning 202: number of arguments does not match definition C:\Users\hp\Desktop\.pwn(121) : warning 202: number of arguments does not match definition C:\Users\hp\Desktop\.pwn(121) : warning 202: number of arguments does not match definition C:\Users\hp\Desktop\.pwn(121) : warning 202: number of arguments does not match definition C:\Users\hp\Desktop\.pwn(122) : warning 202: number of arguments does not match definition C:\Users\hp\Desktop\.pwn(122) : warning 202: number of arguments does not match definition C:\Users\hp\Desktop\.pwn(122) : warning 202: number of arguments does not match definition C:\Users\hp\Desktop\.pwn(122) : warning 202: number of arguments does not match definition C:\Users\hp\Desktop\.pwn(122) : warning 202: number of arguments does not match definition C:\Users\hp\Desktop\.pwn(122) : warning 202: number of arguments does not match definition C:\Users\hp\Desktop\.pwn(123) : warning 202: number of arguments does not match definition C:\Users\hp\Desktop\.pwn(123) : warning 202: number of arguments does not match definition C:\Users\hp\Desktop\.pwn(123) : warning 202: number of arguments does not match definition C:\Users\hp\Desktop\.pwn(123) : warning 202: number of arguments does not match definition C:\Users\hp\Desktop\.pwn(123) : warning 202: number of arguments does not match definition C:\Users\hp\Desktop\.pwn(123) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 18 Warnings. |
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/remove"))
{
DestroyDynamicObject(6189,836.29998779,-2128.39990234,-2.50000000,0.00000000,0.00000000,0.00000000); //object(gaz_pier1) (1)
DestroyDynamicObject(6189,836.20001221,-2257.50000000,-2.50000000,0.00000000,0.00000000,0.00000000); //object(gaz_pier1) (2)
DestroyDynamicObject(6189,836.09997559,-2384.39990234,-2.29999995,0.00000000,0.00000000,0.00000000); //object(gaz_pier1) (3)
return 1;
}
return 0;
}
new obj;
public OnGameModeInit() {
obj = CreateObject(...);
return 1;
}
// and then you can use
DestroyDynamicObject(obj);