21.02.2013, 05:22
pawn Код:
if (!sscanf(string, "p<\">'object''model='d'interior='d'dimension='d'posX='f'posY='f'posZ='f'rotX='f'rotY='f'rotZ='f", modelid, interior, world, x, y, z, rx, ry, rz))
{
n++;
//modelid x y z rx ry rz interior world
CreateDynamicObjectEx(modelid, x, y, z, rx, ry, rz, 500, 500, {world}, {interior});//error 008: must be a constant expression; assumed zero