15.04.2014, 06:32
Quote:
|
Use a custom function instead of the "CreateDynamicObject"
pawn Код:
|
Код:
C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014) - Copy\gamemodes\VGRP.pwn(15993) : error 035: argument type mismatch (argument 10) C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014) - Copy\gamemodes\VGRP.pwn(18368) : error 035: argument type mismatch (argument 10) C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014) - Copy\gamemodes\VGRP.pwn(21681) : error 017: undefined symbol "worldid" C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014) - Copy\gamemodes\VGRP.pwn(21681) : error 029: invalid expression, assumed zero C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014) - Copy\gamemodes\VGRP.pwn(21681) : error 017: undefined symbol "interiorid" C:\Users\Cris\Desktop\0.3z Server\Philippines Roleplay (2014) - Copy\gamemodes\VGRP.pwn(21681) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.
Код:
15993: mysteryegg = CreateDynamicObjectEx(19056, Position[0], Position[1], Position[2]-0.4, 0.0, 0.0, Position[3], -1, -1, -1, 200.0);
Код:
18368: object[f] = CreateDynamicObjectEx(GunObjects[gunid][0],ObjCoords[f][0],ObjCoords[f][1],ObjCoords[f][2]-1,93.7,120.0,120.0, GetPlayerVirtualWorld(playerid), GetPlayerInterior(playerid), -1, 100.0);
Код:
21681: SetPVarInt(playerid, "pBoomBox", CreateDynamicObjectEx(2226, x, y, z, 0.0, 0.0, 0.0, .worldid = GetPlayerVirtualWorld(playerid), .interiorid = GetPlayerInterior(playerid)));

