Lesson to Sanny Builder v3.04

Lesson to Sanny Builder v3.04
Lesson to Sanny Builder v3.04

In this tutorial I show how to put pyzy with weapons!
So here we go!

Press CTRL+N and write the beginning of the script:

// 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 //Chesnokov, if I myself don't know why but you need to write, and then the script will not run

:NONAME_2 // This label script name can be any!
wait 0 // This delay if you leave the game will crash!
model.load(#AK47) // load the weapon model
model.load(#FAM3) // load the model pyzy
038B: load_requested_models // announce about loading models

:NONAME_4 // create a second label
wait 0 // set the delay if you leave the game will crash!
if // it is a condition or check the I know exactly what better when you create a script to set if and
model.available(#AK47)
model.available(#FAM3) // check have uploaded our models
jf @NONAME_4 // if not yet boot script execution goes on label :NONAME_4
actor.create(1@,4,#FAM3,-1966.7954 114.9519 27.6875) // create a teacher in the coordinates XYZ!

Lesson to Sanny Builder v3.04
// we examine 1@ is the name of the teacher in the script , 4 this is the type of teacher, -1966.7954 114.9519 27.6875 it coordinates pyzy where it should be! In SB the coordinates of the player you can insert by pressing CTRL+SHIFT+C
01B2: give_actor 1@ weapon 30 ammo 6000 // give weapons for ped
// we examine 1@ is the name of the teacher in the script 30 is the number of weapons 6000 cartridges
Model.Destroy(#AK47) // delete the AK47 of memory
Model.Destroy(#FAM3) // delete from the memory of the teacher
end_thread // And we finish our flow.
Here is what you should get!

Lesson to Sanny Builder v3.04
Press F6 and save and F8 the game!

Lesson to Sanny Builder v3.04
I congratulate you created your first CLEO script!!!

Here are the types of peds that are in the game:
0 - Player 1
1 - Player 2
2 - 3 Player
3 - not uses
4 - man
5 - woman
6 - police
7 - gangster 1
8 - gangster 2
9 - a gangster 3
10 - gangster 4
11 - gangster 5
12 - gangster 6
13 - gangster 7
14 - gangster 8
15 - gangster 9
16 - gangster 10
17 - dude selling drugs
18 - doctor
19 - fireman
20 - crime
22 - prostitute
23 - special, like Smoke, Sweet, Ryder and others who used in missions.
24 - mission 1
25 - mission 2
26 - mission 3
27 - mission 4
28 - mission 5
29 - mission 6
30 - mission 7
31 - mission 8

Here are all the weapons :

model description the room (to give guns to ped instead)

#grenade - common pomegranate 16
#teargas - gas grenade 17
#molotov - pomegranate "Molotov Cocktail" 18
#satchel - grenade on the input 39
#colt45 - gun Colt45 as cops 22
#silenced pistol with a silencer 23
#desert_eagle-gun "desert eagle" 24
#chromegun - singly charged shotgun 25
#shotgspa - faster shotgun with 7 bullets 27
#sawnoff - double-barrelled gun 26
#micro_uzi - ultrasound 28
#tec9 - something like ultrasound,only weaker 32
#mp5lng - machine MP5,CS 1.6 is "B 3.2" 29
#ak47 Kalashnikov rifle 30
#m4 - author. rifle M4,M16 type 31
#cuntgun - rifle 33
#sniper - rifle with sniper sight 34
#rocketla - Bazooka 35
#heatseek - Bazooka with homing 36
#flame - the flame thrower 37
#minigun - minigun or just six barrel 38
#spraycan - paint spray 41
#fire_ex - extinguisher 42
#camera - camera 43
#nvgoggles - night vision 44
#irgoggles - thermal vision 45

Enjoy the GAME by CentR!!!!!

 Views: 4.2k