Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OnPlayerShootDynamicObject #45

Closed
dbogdan95 opened this issue Mar 15, 2015 · 1 comment
Closed

OnPlayerShootDynamicObject #45

dbogdan95 opened this issue Mar 15, 2015 · 1 comment

Comments

@dbogdan95
Copy link

OnPlayerShootDynamicObject is not called from the last version (i think).

public OnPlayerShootDynamicObject(playerid, weaponid, objectid, Float:x, Float:y, Float:z)
{
if(!IsValidDynamicObject(objectid))
return 1;
SendClientMessage(playerid, -1, "OnPlayerShootDynamicObject");
return 1;
}
The message is not show.

@Crayder
Copy link

Crayder commented Mar 15, 2015

public OnPlayerShootDynamicObject(playerid, weaponid, objectid, Float:x, Float:y, Float:z) 
{
    SendClientMessage(playerid, -1, "OnPlayerShootDynamicObject");
    return 1;
}

Maybe you were in fact shooting an invalid dynamic object, try without the check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants