Jump to content
View in the app

A better way to browse. Learn more.

GTAGames.nl - De Nederlandse Grand Theft Auto Community!

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[CLEO|SA]Auto's spawnen

Hallo!

Ik wil graag auto's spawnen voor GTA San Andreas met cleo (SCM modding zonder main.scm enz. te vervangen, je kunt je oude savegame blijven gebruiken). Ik kan al wapens spawnen. Maar ik krijg maar geen auto's gespawnd, dus hoe moet dit?

[ik heb al op GTAForums en hier gezocht maar ik snap er niets van wat auto's betrefd]

Alvast bedankt ;)

EDIT: Ermee gestopt... Saai.

Edited by ikt

Featured Replies

:D Kun je eens uitleggen hoe je dat met wapens doet ?

Tom :cya:

  • Author
// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007

{$VERSION 3.1.0027}
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP 
wait 10 
Model.Load(#SAWNOFF)
Model.Load(#MICRO_UZI)
Model.Load(#M4)
Model.Load(#SNIPER)
Model.Load(#GRENADE)
Model.Load(#NVGOGGLES)
Model.Load(#KATANA)
038B: load_requested_models 

:WAPEN_43
wait 10 
if and
 $ONMISSION == 0 
Model.Load(#SAWNOFF)
Model.Load(#MICRO_UZI)
Model.Load(#M4)
Model.Load(#SNIPER)
Model.Load(#GRENADE)
Model.Load(#NVGOGGLES)
Model.Load(#KATANA)
jf @NONAME_43 

:WAPEN_100
wait 10 
if and
 $ONMISSION == 0 
  not Actor.Driving($PLAYER_ACTOR)
0AB0:   key_pressed 123 
jf @NONAME_100 
01B2: give_actor $PLAYER_ACTOR weapon 26 ammo 99999 // Load the weapon model before using this 
01B2: give_actor $PLAYER_ACTOR weapon 28 ammo 99999 // Load the weapon model before using this 
01B2: give_actor $PLAYER_ACTOR weapon 31 ammo 99999 // Load the weapon model before using this 
01B2: give_actor $PLAYER_ACTOR weapon 34 ammo 99999 // Load the weapon model before using this 
01B2: give_actor $PLAYER_ACTOR weapon 16 ammo 99999 // Load the weapon model before using this 
01B2: give_actor $PLAYER_ACTOR weapon 44 ammo 1 // Load the weapon model before using this 
01B2: give_actor $PLAYER_ACTOR weapon 8 ammo 1 // Load the weapon model before using this 
wait 100 
Model.Destroy(#SAWNOFF)
Model.Destroy(#MICRO_UZI)
Model.Destroy(#M4)
Model.Destroy(#SNIPER)
Model.Destroy(#GRENADE)
Model.Destroy(#NVGOGGLES)
Model.Destroy(#KATANA)
wait 200 
jump @WAPEN_43

Waarom load je die models twee keer ? 1 keer bij :NOP en een andere keer bij :WAPEN_43

?

Tom :cya:

  • Author
Waarom load je die models twee keer ? 1 keer bij :NOP en een andere keer bij :WAPEN_43

?

Tom :cya:

Fout gekopieerd zeker.. Het werkt wel :Y

Is dit gewoon met SCM codes? Ik moet bekennen van CLEO geen verstand te hebben, geef mij maar gewoon het oude main.scm scripten, veel leuker :engel:

Maar als het dezelfde codes is, moet je nog beslissen of je de auto altijd wilt laten spawnen, of één keer. Voor meer informatie, zie deze tutorial.

Het ziet ernaar uit dat het gewoon hetzelfde is, zoals in je code hierboven. Ik weet alleen niet of je:

1) het model moet loaden als je met CLEO werkt op het moment dat je een generator (dus altijd) gebruikt. In de gewone main.scm hoeft dat namelijk niet. Als je geen generator gebruikt, moet je zeker het model loaden.

2) of je uberhaupt een generator kunt gebruiken.

Het wordt dus een beetje proberen, maar zo gaat dat met scripten: veel proberen, veel testen, kijken waar de fout zit. Veel succes... :)

Ik zie nog twee keer een "jf @NONAME_43" en "jf @NONAME_100"..

terwijl je de labels nu "WAPEN_43" en "WAPEN_100" genoemd hebt..

Dat is in ieder geval verkeerd..

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.