SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 26/08/2015, 05:10 PM   #11
Affan
Huge Clucker
 
Affan's Avatar
 
Join Date: Dec 2012
Posts: 390
Reputation: 28
Default Re: Jizzy Online Shop [Perfect Shop System]

That opcode.

Anyhow, good work.
Affan is offline   Reply With Quote
Old 26/08/2015, 09:51 PM   #12
ahameed4755
Huge Clucker
 
ahameed4755's Avatar
 
Join Date: Jun 2015
Location: Earth
Posts: 217
Reputation: 12
Default Re: Jizzy Online Shop [Perfect Shop System]

good job!
__________________
No signature..
ahameed4755 is offline   Reply With Quote
Old 27/08/2015, 06:12 AM   #13
khRamin78
Huge Clucker
 
Join Date: Jun 2015
Posts: 311
Reputation: 30
Default Re: Jizzy Online Shop [Perfect Shop System]

Quote:
Originally Posted by ahameed4755 View Post
good job!
Thanks


Quote:
Originally Posted by Affan View Post
That opcode.

Anyhow, good work.
Sry Will try Better Next time

& Thanks
khRamin78 is offline   Reply With Quote
Old 29/08/2015, 08:46 PM   #14
khRamin78
Huge Clucker
 
Join Date: Jun 2015
Posts: 311
Reputation: 30
Default Re: Jizzy Online Shop [Perfect Shop System]

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

(( for gaining some scripting skill's ))
khRamin78 is offline   Reply With Quote
Old 30/08/2015, 06:23 AM   #15
Mariciuc223
Huge Clucker
 
Mariciuc223's Avatar
 
Join Date: Jul 2015
Location: Ganton
Posts: 261
Reputation: 11
Default Re: Jizzy Online Shop [Perfect Shop System]

So' , me again.

HTML Code:
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 Code:
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 View Post
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 Code:
Function( )
{
  // Do there something
}
Code:
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 (c) 1997-2006, ITB CompuPhase


1 Warning.
HTML Code:
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.

Code:
new LastVehicleid=17;

// and down

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

Code:
new VehicleID[MAX_PLAYERS] = INVALID_VEHICLE_ID;

// Down

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

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

Code:
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 ..
__________________
My work
___________________________
Vip System V.10 by Sweet (Wiper)
Simple Real Time Clock SA:MP |
[Tutorial] Initialisers
___________________________

If i helped you don't forget to press

Popcorn - A corn that sing pop music.
Mariciuc223 is offline   Reply With Quote
Old 30/08/2015, 07:09 AM   #16
khRamin78
Huge Clucker
 
Join Date: Jun 2015
Posts: 311
Reputation: 30
Default Re: Jizzy Online Shop [Perfect Shop System]

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
khRamin78 is offline   Reply With Quote
Old 30/08/2015, 08:54 AM   #17
Mariciuc223
Huge Clucker
 
Mariciuc223's Avatar
 
Join Date: Jul 2015
Location: Ganton
Posts: 261
Reputation: 11
Default Re: Jizzy Online Shop [Perfect Shop System]

Quote:
Originally Posted by khRamin78 View Post
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 .
__________________
My work
___________________________
Vip System V.10 by Sweet (Wiper)
Simple Real Time Clock SA:MP |
[Tutorial] Initialisers
___________________________

If i helped you don't forget to press

Popcorn - A corn that sing pop music.
Mariciuc223 is offline   Reply With Quote
Old 01/09/2015, 04:30 PM   #18
khRamin78
Huge Clucker
 
Join Date: Jun 2015
Posts: 311
Reputation: 30
Default Re: Jizzy Online Shop [Perfect Shop System]

I Will Work on it when im free thanks for suggestions

also you can suggest my new FS too xD

http://forum.sa-mp.com/showthread.php?t=587246
khRamin78 is offline   Reply With Quote
Old 02/09/2015, 05:07 AM   #19
JJohnson1
Big Clucker
 
JJohnson1's Avatar
 
Join Date: Sep 2012
Location: Ontario,Canada
Posts: 55
Reputation: 2
Default Re: Jizzy Online Shop [Perfect Shop System]

Nice Job khRamin78 . +Rep'd. Keep up the good work.
JJohnson1 is offline   Reply With Quote
Old 02/09/2015, 06:05 AM   #20
khRamin78
Huge Clucker
 
Join Date: Jun 2015
Posts: 311
Reputation: 30
Default Re: Jizzy Online Shop [Perfect Shop System]

Quote:
Originally Posted by JJohnson1 View Post
Nice Job khRamin78 . +Rep'd. Keep up the good work.
Thanks Mate
khRamin78 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iam need script of shop 24/7 all shop and cazino alking282 Scripting Help 3 25/10/2014 01:53 PM
[Map] New Gun Shop Perfect for RP GreenSt4lker Maps 3 01/04/2013 01:22 PM
How to shop online with visa Debit Card? Rudy_ Everything and Nothing 16 08/12/2012 02:21 PM
Best Online shop arnoldziux Everything and Nothing 6 17/06/2009 06:40 PM


All times are GMT. The time now is 03:47 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.