14.08.2014, 17:07
Hi!
I've a graffiti system with streamer, but when I click on save icon after moving, it doesn't update other players, it stays the location where I created it.
What's the problem?
This is the save and close:
I've a graffiti system with streamer, but when I click on save icon after moving, it doesn't update other players, it stays the location where I created it.
What's the problem?
This is the save and close:
Код:
if(response == EDIT_RESPONSE_FINAL || response == EDIT_RESPONSE_CANCEL) { if(pGraff[playerid][pgSpraying] > 0) { new g = pGraff[playerid][pgSpraying]; MoveDynamicObject(objectid, x, y, z, 10.0, rx, ry, rz); Graff[g][X] = x; Graff[g][Y] = y; Graff[g][Z] = z; Graff[g][RotX] = rx; Graff[g][RotY] = ry; Graff[g][RotZ] = rz; pGraff[playerid][pgSpraying] = 0; } }