GTAvision.com - Forum - Grand Theft Auto News, Downloads, Community and more...

Position: Grand Theft Auto: San Andreas » Multiplayer » Scripte und kleine Codes » [INC] Retry's new Functions » Druckansicht
FloRaX, 19.10.2008, 12:25
Hi,

ich hab mir mal gedacht, ich mache eine Include mit über 24 Funktionen.

Die Funktionen lauten:

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?
native SetHealthForAll(Float:health);
native SetArmourForAll(Float:armour);
native ExplodeMe(playerid);
native ExplodeAll();
native AdminExplodeAll(userid);
native CreateJetpack(playerid);
native CreateJetpackforAll();
native SetScoreForAll(score);
native PlayerSoundForAll(soundid);
native ClearAnimationsAll();
native FreezePlayer(playerid);
native UnfreezePlayer(playerid);
native FUAll(bool:toggle);
native SetPlayerVehiclePos(playerid,Float:y,Float:x,Float:z,Float:vy,Float:vx,Float:vz);
native GiveAllMoney(money);
native ResetAllMoney(money);
native FullPlayerPower(playerid);
native KillPlayer(playerid);
native KillAllPlayers();
native FallPlayer();
native ForcePlayer(playerid);
native ForceAllPlayers();
native IsAfkPlayer(playerid);
native IsBackPlayer(playerid);
native FallAllPlayers();
native ClearText(playerid);
native ClearTextForAll();
native Text(playerid,const str[]);
native SendRedText(playerid, const str[]);
native SendWhiteText(playerid, const str[]);
native SendGreenText(playerid, const str[]);
native SendCyanText(playerid, const str[]);
native SendAdminText(playerid, const str[]);
native GameText(playerid,const str[],time,style);
native GameTextAll(const str[],time,style);
native GetVehicleName(vehicleid);
native SetAllAmmo(weaponslot,ammo);
native SetAllSkin(skinid);
native GiveAllWeapon(weaponid,ammo);
native PutAllInVehicle(vehicleid,seatid);
native SetAllWantedLevel(level);
native ResetAllWantedLevel(level);
native SetAllWeather(weather);
native ClockEnable();
native ClockDisable();
native SetAllTime(hour,minute);
native SetAllNames(const str[]);
native SetAllTeam(teamid);
native UnlockAllCars();
native LockAllCars();
native SpawnAllPlayers();
native SetAllInterior(interiorid);
native SetAllPos(Float:x,Float:y,Float:z);
native SetAllFacingAngle(Float:ang);
native SetAllColor(color);
native SetAllWorld(worldid);
native DestroyAllPickups();
native DestroyAllVehicles();
native SetPlayerGravity(playerid,Float:gravity);
native IsAllAdmin();
native LinkAllVehiclesToInterior(interiorid);
native SetAllVehicleHealth(Float:health);
?>


So das war die letzte Version!
Ich hoffe meine Include gefällt euch!

Ein ziemlich kleiner Bug ist noch drin.
Bei dem:
Code:
1
SetPlayerVehiclePos(playerid,Float:y,Float:x,Float:z,Float:vy,Float:vx,Float:vz);


Hat es noch einen kleinen Bug, ich weiß nicht wie ich denn beheben kann, vielleicht weiß ein
anderer weiter?

Install

- Die Include in eurem "Pawno/Include" Ordner reinkopieren!
- In eurem Gamemode ganz oben "#include <RetrynewFuncs> einfügen.
- Eine funktion wählen und spaß haben :) (Man kann ruhig alle nehmen :P )
- Ihr müsst nur noch eurem das #include <Retrys_New_Funcs> ganz oben einsetzen.
- In der Include wurde schon <a_samp> Integriert!

Hier ein bsp.:

Code:
1
2
3
4
5
6
7
8
<?

if(!strcmp("/boomme",cmdtext,true))
{
ExplodeMe(playerid);
SendClientMessage(playerid,COLOR_RED,"*** Du hast dich explodieren lassen!");
return true;
}


Sollten es noch welche bekanntliche Bugs auftreten, so bitte ich euch mir bescheid zu sagen.

P.S: Da steht Retrylon's new Functions der name Retrylon ist mein Ingame name ;)

Viel spaß!

MfG
FloRaX


------

V.6

Satte 62 neue Funktionen!

-------

So nun die letzte Version, da hatte ich mal Zeit zum mehr-fach Scripten:

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?
native SetHealthForAll(Float:health);
native SetArmourForAll(Float:armour);
native ExplodeMe(playerid);
native ExplodeAll();
native AdminExplodeAll(userid);
native CreateJetpack(playerid);
native CreateJetpackforAll();
native SetScoreForAll(score);
native PlayerSoundForAll(soundid);
native ClearAnimationsAll();
native FreezePlayer(playerid);
native UnfreezePlayer(playerid);
native FUAll(bool:toggle);
native SetPlayerVehiclePos(playerid,Float:y,Float:x,Float:z,Float:vy,Float:vx,Float:vz);
native GiveAllMoney(money);
native ResetAllMoney(money);
native FullPlayerPower(playerid);
native KillPlayer(playerid);
native KillAllPlayers();
native FallPlayer();
native FallAllPlayers();
native ForcePlayer(playerid);
native ForceAllPlayers();
native IsAfkPlayer(playerid);
native IsBackPlayer(playerid);
native ClearText(playerid);
native ClearTextForAll();
native Text(playerid,const str[]);
native SendRedText(playerid, const str[]);
native SendWhiteText(playerid, const str[]);
native SendGreenText(playerid, const str[]);
native SendDeadMessage(playerid, const str[]);
native SendCyanText(playerid, const str[]);
native SendAdminText(playerid, const str[]);
native GameText(playerid,const str[],time,style);
native GameTextAll(const str[],time,style);
native GetVehicleName(vehicleid);
native SetAllAmmo(weaponslot,ammo);
native SetAllSkin(skinid);
native GiveAllWeapon(weaponid,ammo);
native PutAllInVehicle(vehicleid,seatid);
native SetAllWantedLevel(level);
native ResetAllWantedLevel(level);
native SetAllWeather(weather);
native ClockEnable();
native ClockDisable();
native SetAllTime(hour,minute);
native SetAllNames(const str[]);
native SetAllTeam(teamid);
native UnlockAllCars();
native LockAllCars();
native SpawnAllPlayers();
native SetAllInterior(interiorid);
native SetAllPos(Float:x,Float:y,Float:z);
native SetAllFacingAngle(Float:ang);
native SetAllColor(color);
native SetAllWorld(worldid);
native DestroyAllPickups();
native DestroyAllVehicles();
native SetPlayerGravity(playerid,Float:gravity);
native IsAllAdmin();
native LinkAllVehiclesToInterior(interiorid);
native SetAllVehicleHealth(Float:health);
native GiveWeapons(playerid,w1,a1,w2,a2,w3,a3);
native SetPosInteriorAngle(playerid,Float:x,Float:y,Float:z,Float:angle,interiorid);
native FreezeTeam(team,bool:toggle);
native SetCheckpointForAdmin(Float:x,Float:y,Float:z,Float:size);
native DisableCheckpointForAdmin();
native SetTeamMoney(team,howmuch);
native ResetTeamMoney(team);
native GiveTeamMoney(team,howmuch);
native PlayerSoundForTeam(team,soundid);
native Wait(time);
native WaitAll(time);
native StopAllObjects();
native RClock();
native GetColor(playerid,color);
native GetAllPing();
native GetAllIp(len);
native RemoveAllPlayersFromVehicle();
native DisableAllMenu();
native GivePlayerLevel(playerid, levelanzahl);
native GetPlayerLevel(playerid);
native SetPlayerLevel(playerid,levelanzahl);
native SetPlayerColorRed(playerid);
native SetAllPlayersColorRed();
native IsVehicleHydraulicCompatible(model);
native IsVehicleNitroCompatible(model);
native AddStaticVehicle2(modelid, Float:Vspawn_x, Float:Vspawn_y, Float:Vspawn_z, Float:Vz_angle);
native DropWeapons(playerid);
native PlayerName(playerid);
native AllPlayerName();
native GameTextForTeam(team,const string[],style,time);
native SetPlayerCoins(playerid,coinamount);
native GivePlayerCoins(playerid,coinamount);
native ResetPlayerCoins(playerid);
native GetPlayerCoins(playerid,coinamount);
native IsPlayerAnimDrunk(playerid);
native IsPlayerAnimHandsup(playerid);
native IsPlayerAnimLaugh(playerid);
native IsPlayerAnimVomit(playerid);
native IsPlayerAnimEat(playerid);
native IsPlayerAnimDance(playerid);
native OnePlayAnim(playerid,animlib[],animname[], Float:Speed, looping, lockx, locky, lockz, lp);
native CrashPlayer(playerid);
native SavePlayerPos(playerid);
native LoadPlayerPos(playerid);
native IsPlayerMessage(const str[]);
native Player(modelid,Float:spawn_x,Float:spawn_y,Float:spawn_z,Float:z_angle,
weapon1,weapon1_ammo,weapon2,weapon2_ammo,weapon3,weapon3_ammo);
?>


Satte neue 110 Funktionen!

Ich hoffe sie gefallen euch :P
GTAvision.com :: Forumregeln :: FAQ :: Impressum :: Kontakt :: RDRvision.com :: LANOIREvision.com :: MaxPayneVision.com
NetVisionWork.NET
.: © 2006-2014 by GTAvision.com :.

Rockstar GamesTake-Two Interactive Deutschland

Free Grand Theft Auto Downloads