20.08.2010, 19:22
It uses CreateObject meaning if you've got too many objects, you will need an object streamer. Try getting a streamer for the rest of your objects then using the FS. Or make sure the
FS is set to even run.
Thats up to you
pawn Код:
|
if(strcmp(cmdtext, "/fire" true) == 0) //strcmp
{
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid,X,Y,Z);
AddFire(X,Y,Z,1000);
return 1;
}
Thats up to you
pawn Код:
|
CMD:fire(playerid,params[]) //zcmd
{
#pragma unused params
new Float:X,Float:Y,Float:Z;
AddFire(Float:X, Float:Y, Float:Z, 1000);
return 1;
}
dcmd_fire(playerid,params[]) //dcmd
{
#pragma unused params
new Float:X,Float:Y,Float:Z;
AddFire(Float:X, Float:Y, Float:Z, 1000);
return 1;
}
Actually they should not use params in this cmd..
pawn Код:
|
im trying to fix that but somehow it only works if the firetruck faces it and not its water :/
|