Posts: 86
Threads: 6
Joined: Mar 2011
Reputation:
0
When i buy a car the money goes down and were up so it's free it only happens with filterscripts .. Can anybody help me with that ?? Please
Posts: 86
Threads: 6
Joined: Mar 2011
Reputation:
0
Look when i buy a car on dealerships i won't lose money , yes i do but it's like in Pay 'n Spray it cost 100 but you won't really lose it like that how to resolve this?
Posts: 86
Threads: 6
Joined: Mar 2011
Reputation:
0
new money = GetPlayerMoney(playerid);
GivePlayerMoney(playerid, -VehicleInfo[playerid][Price]);
GivePlayerMoney(playerid, VehicleInfo[playerid][Price]/2);
heb alleen maaar dit met GivePlayerMoney enzo ..
Enne waar zou ik doet moeten zetten dan GivePlayerMoney(playerid, -Money); ?
Posts: 86
Threads: 6
Joined: Mar 2011
Reputation:
0
01.06.2011, 09:12
(
Последний раз редактировалось Jason010; 01.06.2011 в 10:04.
)
If i put GivePlayerMoney(playerid, -Money); i'll got error :C:\Users\Wim\Desktop\Nieuwe map (2)\filterscripts\dealership.pwn(669) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Or :
C:\Users\Wim\Desktop\Nieuwe map (2)\filterscripts\dealership.pwn(669) : error 017: undefined symbol "money"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Help Please
EDIT: Als ik het hier moet doen waar dan:
format(string9, sizeof(string9), "Name: %s\nPrice: $%i", GetVehicleNameFromID(DealerCars[8]), CarPrice[DealerCars[8]]); ??
Posts: 86
Threads: 6
Joined: Mar 2011
Reputation:
0
Uhm i know the prob is in my Gamemode becos i tested it with God Father and you will lose money then but what do i need to edit in GM then .. ??