SA-MP Forums Archive
[GameMode] Blank Script for 0.3.7 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Gamemode Scripts (https://sampforum.blast.hk/forumdisplay.php?fid=71)
+--- Thread: [GameMode] Blank Script for 0.3.7 (/showthread.php?tid=572115)



Blank Script for 0.3.7 - J4Rr3x - 25.04.2015

What is this?
This is an updated version of new.pwn. I've added all callbacks from 0.3a to 0.3.7

What's new?
Callbacks added:
pawn Код:
OnEnterExitModShop(playerid, enterexit, interiorid)
OnVehicleDamageStatusUpdate(vehicleid, playerid)
OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z, Float:vel_x, Float:vel_y, Float:vel_z)
OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)
OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
OnPlayerClickTextDraw(playerid, Text:clickedid)
OnPlayerEditAttachedObject(playerid, response, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ)
OnPlayerEditObject(playerid, playerobject, objectid, response, Float:fX, Float:fY, Float:fZ, Float:fRotX, Float:fRotY, Float:fRotZ)
OnPlayerSelectObject(playerid, type, objectid, modelid, Float:fX, Float:fY, Float:fZ)
OnIncomingConnection(playerid, ip_address[], port)
OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
OnTrailerUpdate(playerid, vehicleid)
OnVehicleSirenStateChange(playerid, vehicleid, newstate)
OnActorStreamIn(actorid, forplayerid)
OnActorStreamOut(actorid, forplayerid)
Native added:
pawn Код:
IsValidVehicle(playerid);
Download:
BitBucket Download Page


Whenever Kalcor update SAMP, I'm going to add all possible callbacks.


Re: Blank Script for 0.3.7 - AzaMx - 25.04.2015

Thanks for this.


Re : Blank Script for 0.3.7 - S4t3K - 25.04.2015

Who does start a script from new.pwn now ?

I either start with an existing mode or with a completely blank page.

Anyway, thanks !


Re: Re : Blank Script for 0.3.7 - J4Rr3x - 25.04.2015

Quote:
Originally Posted by AzaMx
Посмотреть сообщение
Thanks for this.
Quote:
Originally Posted by S4t3K
Посмотреть сообщение
Who does start a script from new.pwn now ?

I either start with an existing mode or with a completely blank page.

Anyway, thanks !
Thanks
@S4t3K: ik, but newbie scripter don't know all callbacks and in wiki there isn't a list of it.


Re: Re : Blank Script for 0.3.7 - Infinity - 25.04.2015

Quote:
Originally Posted by J4Rr3x
Посмотреть сообщение
Thanks
@S4t3K: ik, but newbie scripter don't know all callbacks and in wiki there isn't a list of it.
https://sampwiki.blast.hk/wiki/Category:Scripting_Callbacks


Re: Re : Blank Script for 0.3.7 - J4Rr3x - 25.04.2015

Quote:
Originally Posted by Infinity
Посмотреть сообщение
Oh, i didn't know this list, sorry.


Re : Blank Script for 0.3.7 - Moroccan - 30.04.2015

oh thank you i start with it
to make my own


Re: Blank Script for 0.3.7 - Nirzor - 05.05.2015

J4Rr3x once I was like you , when I newly joined forums and didn't know much scripting. People would always comment

negative when it is not useful for the advanced scripters. Don't worry one day you will become a great scripter , this is

where it all starts. My story also started like this one day. One day you will become such a scripter that all of SA-MP

will look at you. I really like this , your willingness to help people. All the people should be proud of you. I'm proud.

On Topic: Nice work brother , stay in scripting and do scripting.

One thing : You remind me of my old days , and +rep for you.


Re: Blank Script for 0.3.7 - FernandoLight - 12.05.2015

Quote:
Originally Posted by Nirzor
Посмотреть сообщение
J4Rr3x once I was like you , when I newly joined forums and didn't know much scripting. People would always comment

negative when it is not useful for the advanced scripters. Don't worry one day you will become a great scripter , this is

where it all starts. My story also started like this one day. One day you will become such a scripter that all of SA-MP

will look at you. I really like this , your willingness to help people. All the people should be proud of you. I'm proud.

On Topic: Nice work brother , stay in scripting and do scripting.

One thing : You remind me of my old days , and +rep for you.
This = Same my opinion tho. And yeah it's really nice for newbies.


Re: Blank Script for 0.3.7 - J4Rr3x - 12.05.2015

Quote:
Originally Posted by FernandoLight
Посмотреть сообщение
This = Same my opinion tho. And yeah it's really nice for newbies.
Thank you both!