31
General Discussion / Re: Problem with the forum
« on: September 25, 2014, 04:38:17 pm »
Just use the wap2 version
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Try thisThat will raise an error when the property doesn't exist. You're checking the cash before checking the query itself.Code: [Select]-
I modified it due to my laziness i didnt add the register or logedin sys in this.
I tried it with my server and it work.
I have changed the storing of Name in lower case.
Well that should work
status[ player.ID ].Cash -= GetSQLColumnData( q, 2 );
player.Cash = status[ player.ID ].Cash;
<Settings>
<ServerName>Your server name</ServerName>
<MaxPlayers>Max players</MaxPlayers>
<Password>password</Password>
<FriendlyFire>1,true,yes,on</FriendlyFire>
<ShowOnRadar>See FF</ShowOnRadar>
<WeatherDefault>weather</WeatherDefault>
<HourDefault>hour</HourDefault>
<MinuteDefault>minute</MinuteDefault>
<TimeRate>0 = freezed, 1 = normal</TimeRate>
<GameModeName>gamemode</GameModeName>
<PlayerPos x="123.123" y="123.123" z="123.123" />
<CamPos x="123.123" y="123.123" z="123.123" />
<CamLook x="123.123" y="123.123" z="123.123" />
<WorldBoundaries MaxX="123.123" MinX="123.123" MaxY="123.123" MinY="123.123" />
<SyncFrameLimiter>1,true,yes,on</SyncFrameLimiter>
<FrameLimiter>1,true,yes,on</FrameLimiter>
<TaxiBoostJump>1,true,yes,on</TaxiBoostJump>
<DriveOnWater>1,true,yes,on</DriveOnWater>
<FastSwitch>1,true,yes,on</FastSwitch>
<DisableDriveBy>1,true,yes,on</DisableDriveBy>
<PerfectHandling>1,true,yes,on</PerfectHandling>
<FlyingCars>1,true,yes,on</FlyingCars>
<JumpSwitch>1,true,yes,on</JumpSwitch>
<DeathMessages>1,true,yes,on</DeathMessages>
<Gravity>1.8</Gravity>
<GameSpeed>1.0</GameSpeed>
<WaterLevel>1.0</WaterLevel>
<ShootInAir>1,true,yes,on</ShootInAir>
<JoinMessages>1,true,yes,on</JoinMessages>
<ShowNametags>1,true,yes,on</ShowNametags>
<StuntBike>1,true,yes,on</StuntBike>
</Settings>
<Class skin="id" x="123.123" y="123.123" z="123.123" angle="123.123" weapon1="id" ammo1="999" weapon2="id" ammo2="999" weapon3="id" ammo3="999" r="255" g="255" b="255" a="255" />
<Vehicle model="modelid" x="123.123" y="123.123" z="123.123" rotx="123.123" roty="123.123" rotz="123.123" col1="col" col2="col" world="1" />
<Pickup model="modelid" x="123.123" y="123.123" z="123.123" world="1" />
git clone [email protected]:stormeus/0.4-squirrel.git
cd 0.4-squirrel
make build32