SA-MP Forums Archive
[FilterScript] Jizzy Online Shop [Perfect Shop System] - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Jizzy Online Shop [Perfect Shop System] (/showthread.php?tid=586926)

Pages: 1 2


Jizzy Online Shop [Perfect Shop System] - khRamin78 - 26.08.2015

Jizzy Online Shop Delivery in 3 Second's


Hey Guys Its My Second FS That I Wanted to Show You Guys I Hope You Like This And i will be happy to See your Suggestion's About me or what better to do :


Features

  1. A Perfect Using Of Dialog's
  2. 4 Different Shop Menu's
  3. Got 9 Different Weapons
  4. Got 7 Different Masks
  5. Got 7 Different Glasses
  6. Got 10 different Hats
  7. Got Nitro In menu
  8. Got 9 different Vehicle's
  9. Got 6 Different Food With Healing & Drunk Ability
  10. Got Perfect Notices
  11. Editing Objects Attached to player
  12. So more That You Need Try This FS To See Abilities ...



Command's

/Shophelp >> To See List of commands
/shop >> To See Shop menu
/editaccess (/ea) >> To Edit one of attached objects (Hat/Mask/Glass)
/deleteaccess (/da) >> To Remove One of Attached objects
/destroyveh >> remove Bought Vehicle


Screen Shots













Bugs
I Think Its Clear Script But Maybe It Will Be Bugged In High Amount Of Vehicle's (Maybe) And Also Maybe Some Text Problems About my Lang
Credits


Thanks To :
  1. Samp Team For (a_samp.inc)
  2. ZeeX For (Zcmd.inc)
  3. Y_Less For (Sscanf)
  4. Me [R]amin_ For Scripting


And Here Is Download link :

Mediafire
pastebin
Thank You For Giving Your Golden Time To Me



Re: Jizzy Online Shop [Perfect Shop System] - Variable™ - 26.08.2015

Nice one keep It up


Re: Jizzy Online Shop [Perfect Shop System] - khRamin78 - 26.08.2015

Quote:
Originally Posted by 1Deagle1
View Post
Nice one keep It up
Thanks, I Will Try To Add Some More Item's Or Maybe More shop menu's Also Makeing it more Better tommorow


Re: Jizzy Online Shop [Perfect Shop System] - MichaelJones - 26.08.2015

Awesome , Keep it up


Re: Jizzy Online Shop [Perfect Shop System] - Mariciuc223 - 26.08.2015

Why 'Online' ? And i don't belive in 'perfect' , but it looks great.


Re: Jizzy Online Shop [Perfect Shop System] - khRamin78 - 26.08.2015

Quote:
Originally Posted by Mariciuc223
View Post
Why 'Online' ? And i don't belive in 'perfect' , but it looks great.
I Just Choose This Name For Ingame player's xD You Know , Online , delivery Fast, just making some fun like using internet or ... oh come on its just a name Thanks for reply and i will try make it perfect

Quote:
Originally Posted by MichaelJones
View Post
Awesome , Keep it up
Thanks !


Re: Jizzy Online Shop [Perfect Shop System] - SpikY_ - 26.08.2015

Good work.


Re: Jizzy Online Shop [Perfect Shop System] - khRamin78 - 26.08.2015

Quote:
Originally Posted by SpikY_
View Post
Good work.
Thanks Mate !


Re: Jizzy Online Shop [Perfect Shop System] - khRamin78 - 26.08.2015

I Think There is Some Problem With SetPlayerDrunkLevel i forget To Use GetPlayerDrunklevel So player's Wont get Drunk by using Weed or drinking Wine I Will Fix This


Re: Jizzy Online Shop [Perfect Shop System] - Mariciuc223 - 26.08.2015

Quote:
Originally Posted by khRamin78
View Post
I Just Choose This Name For Ingame player's xD You Know , Online , delivery Fast, just making some fun like using internet or ... oh come on its just a name Thanks for reply and i will try make it perfect



Thanks !
Oh, the name -- Great , i think xD

Nothing it's perfect my friend.


Re: Jizzy Online Shop [Perfect Shop System] - Affan - 26.08.2015

That opcode.

Anyhow, good work.


Re: Jizzy Online Shop [Perfect Shop System] - ahameed4755 - 26.08.2015

good job!


Re: Jizzy Online Shop [Perfect Shop System] - khRamin78 - 27.08.2015

Quote:
Originally Posted by ahameed4755
Посмотреть сообщение
good job!
Thanks


Quote:
Originally Posted by Affan
Посмотреть сообщение
That opcode.

Anyhow, good work.
Sry Will try Better Next time

& Thanks


Re: Jizzy Online Shop [Perfect Shop System] - khRamin78 - 29.08.2015

Im waiting for your comment's And my scripting problem's And your help's about them :X

(( for gaining some scripting skill's ))


Re: Jizzy Online Shop [Perfect Shop System] - Mariciuc223 - 30.08.2015

So' , me again.

Код HTML:
stock ApplyPlayerAnimation(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync = 0)
{
    ApplyAnimation(playerid, animlib, "null", fDelta, loop, lockx, locky, freeze, time, forcesync); // Pre-load animation library
    return ApplyAnimation(playerid, animlib, animname, fDelta, loop, lockx, locky, freeze, time, forcesync);
}
stock PreloadAnimLib(playerid, animlib[])
{
	ApplyAnimation(playerid, animlib, "null", 0.0, 0, 0, 0, 0, 0);
	return 1;
}
to

Код HTML:
PreloadAnimLib(playerid, animlib[])
{
	ApplyAnimation(playerid, animlib, "null", 0.0, 0, 0, 0, 0, 0);
	return 1;
}
Because you don't need that 'ApplyPlayerAnimation' (because you didn't used it), and at 'PreloadAnimLib' use function , without stock , because stock :

Quote:
Originally Posted by Mariciuc223
Посмотреть сообщение
Don't use anymore stocks, that are pretty useless. 'Stock' is used to declare variables and functions which may not be used but which you don't want to generate unused warnings for. With variables stock is like const in that it is a modifier, not a full declaration. That's good if you want to write a library and you don't want to get warnings if you don't used some functions from that 'include'. In rest you can use simple functions :

Код HTML:
Function( )
{
  // Do there something
}
Код:
C:\Users\Wipe\AppData\Local\Temp\Rar$DIa0.381\JShop.pwn(1076) : warning 203: symbol is never used: "PAttached"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Код HTML:
enum PAttachedObjectPos
{
	Po_Mod,
	Po_Bond,
	Float:Po_X,
	Float:Po_Y,
	Float:Po_Z,
	Float:Po_RX,
	Float:Po_RY,
	Float:Po_RZ,
	Float:Po_SX,
	Float:Po_SY,
	Float:Po_SZ
}

new PAttached[MAX_PLAYERS][MAX_PLAYER_ATTACHED_OBJECTS][PAttachedObjectPos];
remove that.

Код:
new LastVehicleid=17;

// and down

CreateVehicle(402,X,Y,Z,A,-1,-1,60000);
PBoughtVehicle[playerid] = true;
PCreatedVehicleid[playerid] = LastVehicleid;
That 'LastVehicleid' suck ..

Код:
new VehicleID[MAX_PLAYERS] = INVALID_VEHICLE_ID;

// Down

VehicleID[playerid] = CreateVehicle(....);
And if you want to check if player have created vehicle:

Код:
if(VehicleID[playerid] != INVALID_VEHICLE_ID) // do something
On vehicle despawn , or you lose it:

Код:
VehicleID[playerid] = INVALID_VEHICLE_ID;
@Suggestion: You could add a command like /consume to consume that food or something , and to save the food he have ..


Re: Jizzy Online Shop [Perfect Shop System] - khRamin78 - 30.08.2015

About The PAttached i though i told in FS it used if you want to save Attached obj place

and for last vehicle id ye i think its sux too Thanks for Help

and about anim's i just wanted use some anim's in that FS but someother i change my mind

Thank;s for your help


Re: Jizzy Online Shop [Perfect Shop System] - Mariciuc223 - 30.08.2015

Quote:
Originally Posted by khRamin78
Посмотреть сообщение
About The PAttached i though i told in FS it used if you want to save Attached obj place

and for last vehicle id ye i think its sux too Thanks for Help

and about anim's i just wanted use some anim's in that FS but someother i change my mind

Thank;s for your help
Not anims bro , you can make something to store food on your pocket (or something like that) and before use /drink | /eat to heal yourself . And to make that save .


Re: Jizzy Online Shop [Perfect Shop System] - khRamin78 - 01.09.2015

I Will Work on it when im free thanks for suggestions

also you can suggest my new FS too xD

https://sampforum.blast.hk/showthread.php?tid=587246


Re: Jizzy Online Shop [Perfect Shop System] - JJohnson1 - 02.09.2015

Nice Job khRamin78 . +Rep'd. Keep up the good work.


Re: Jizzy Online Shop [Perfect Shop System] - khRamin78 - 02.09.2015

Quote:
Originally Posted by JJohnson1
Посмотреть сообщение
Nice Job khRamin78 . +Rep'd. Keep up the good work.
Thanks Mate