[GameMode] Blank Script for 0.3.7
#1

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.
Reply
#2

Thanks for this.
Reply
#3

Who does start a script from new.pwn now ?

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

Anyway, thanks !
Reply
#4

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.
Reply
#5

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
Reply
#6

Oh, i didn't know this list, sorry.
Reply
#7

oh thank you i start with it
to make my own
Reply
#8

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.
Reply
#9

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.
Reply
#10

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


Forum Jump:


Users browsing this thread: