#1

Quote:

(12165) : error 008: must be a constant expression; assumed zero
(12165) : error 008: must be a constant expression; assumed zero
(12165) : error 036: empty statement
(12165) : fatal error 107: too many error messages on one line

new siren[vehicleid] = CreateObject(18646, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
Reply
#2

where do you have this? in which callback?
show me the whole thing please, then i can make you a suggestion
Reply
#3

Quote:
Originally Posted by Jari_Johnson*
Посмотреть сообщение
where do you have this? in which callback?
show me the whole thing please, then i can make you a suggestion
Nevermind the script /siren is fucked up i just can't get the good AttachObjectToVehicle
I've just fucked it up..
Reply
#4

well, if you need a /siren command, here you go

pawn Код:
//this under your includes and defines, outside of any callback
new sirenon;

//this inside your OnGameModeInit
sirenon = CreateDynamicObject(19419, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);

//the code below OUTSIDE of any callback, at the bottom of your script is the best
CMD:siren(playerid,params[])
{
    AttachObjectToVehicle(sirenon,(GetPlayerVehicleID(playerid)), 0.0, 0.0, 1.0, 0.0, 0.0, 0.0);
    return 1;
}
I struggled with this for a long time too, hope i help you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)