Playerinfo - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Playerinfo (
/showthread.php?tid=316223)
Playerinfo -
trapstar2020 - 05.02.2012
I want to like If a player does /buyslot it creates another pcarkey spot and save so that players can buy more & more cars.
Re: Playerinfo -
Tanush123 - 06.02.2012
pawn Код:
PlayerInfo[playerid][Slot] ++;
Re: Playerinfo -
iPLEOMAX - 06.02.2012
You gave a very little information, trapstar2020..
AW: Playerinfo -
Tigerkiller - 06.02.2012
explain more cause wdk where or how you save the cars
Re: Playerinfo -
trapstar2020 - 20.02.2012
o sorry i mean if like have have a car dealership system and the person can only buy two cars but if he has tikis on him a certain amount a he does /buycarslot it adds another slot so he can take another key so the person can buy another car.
but i have like
[CODE]
/buycar
if (playerinfo[playerid]pcarkey > 299) // the script is checking for one slot i want it t check fr another and another but at the same ime i want to check for others carkeys. so my server wont crash
(
scripting
)
)
Re: Playerinfo -
Tanush123 - 20.02.2012
do what i said before for slots