Forum

> > CS2D > Scripts > coordinate
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch coordinate

2 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt coordinate

Xlucam14X
User Off Offline

Zitieren
I need a script coordinate to make maps with scripts spawns as Carmod v4

alt Re: coordinate

Apache uwu
User Off Offline

Zitieren
I think he wants to spawn a car with file Datei existiert nicht (6036).

If you look directly at it's info section you can see how you can spawn it.

The console command is


1
spawncar <x> <y> <max changes> <rot> <sprite dir> <sprite scale X> <sprite scale Y> <fuel> <health>

So I assume you wanted...

1
2
3
4
5
addhook("spawn","_spawn")

function _spawn(id)
	parse("spawncar "..player(id,"x").." "..player(id,"y").."--------")
end

The lines I left were up to you. Max changes, I believe is the friction on turn, rot=rotation, sprite dir is the rotation of the image, scales, fuel and health.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht