Filescript Help - Errors
#10

pawn Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
new car = AddStaticVehicle(480,x,y,z,1.0290,159,160) ;
PutPlayerInVehicle(playerid,car,0);
SendClientMessage(playerid, Gelb, "Du hast dir einen Cometen gespawnt");
sirene1 = CreateObject(18646,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene1,car,-0.5,0.0,0.85,0,0,0);
so, it will be

pawn Код:
#define Gelb  0xFFFF00AA


new sirene1;



CMD:attachobject(playerid, params[])
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
new car = AddStaticVehicle(480,x,y,z,1.0290,159,160) ;
PutPlayerInVehicle(playerid,car,0);
SendClientMessage(playerid, Gelb, "Du hast dir einen Cometen gespawnt");
sirene1 = CreateObject(18646,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene1,car,-0.5,0.0,0.85,0,0,0);
return 1;

}
Reply


Messages In This Thread
Filescript Help - Errors - by SupermanV - 07.06.2013, 10:10
Re: Filescript Help - Errors - by Giroud12 - 07.06.2013, 10:25
Re: Filescript Help - Errors - by SupermanV - 07.06.2013, 10:29
Re: Filescript Help - Errors - by Giroud12 - 07.06.2013, 10:34
Re: Filescript Help - Errors - by SupermanV - 07.06.2013, 10:40
Re: Filescript Help - Errors - by Giroud12 - 07.06.2013, 10:47
Re: Filescript Help - Errors - by SupermanV - 07.06.2013, 10:50
Re: Filescript Help - Errors - by Giroud12 - 07.06.2013, 10:56
Re: Filescript Help - Errors - by SupermanV - 07.06.2013, 11:00
Re: Filescript Help - Errors - by Guest123 - 07.06.2013, 11:20

Forum Jump:


Users browsing this thread: 7 Guest(s)