SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 17/05/2018, 07:43 PM   #11
Xportaler
Banned
 
Join Date: Feb 2017
Posts: 100
Reputation: 4
Default Re: MySQL Table changin

Quote:
Originally Posted by JasonRiggs View Post
Under
PHP Code:
public OnGameModeInIt 
add
PHP Code:
Checkveteran(); 
to run a check for all, But the
PHP Code:
        if(IsPlayerConnected(i)) 
Should be removed because it will make the check only for online players..

EDIT:But don't forget to add under the function you sent the line which you sent us to make the main thing that you want..
What do you mean wtih EDIT ?

what to add under function
Xportaler is offline   Reply With Quote
Old 17/05/2018, 07:50 PM   #12
JasonRiggs
Gangsta
 
Join Date: Jul 2016
Location: My bedroom.
Posts: 744
Reputation: 39
Default Re: MySQL Table changin

Quote:
Originally Posted by Xportaler View Post
What do you mean wtih EDIT ?

what to add under function
I mean by edit that Ive edited the comment :3

Add under the function

PHP Code:
mysql_query_nodata("UPDATE `plr_veteran` SET `Actve`=1 WHERE `VHOURS` > 20"); 
__________________


Discord: Riggs #5210
JasonRiggs 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
MYSQL table Puff Scripting Help 8 01/09/2017 05:59 PM
MySQL: Update all values in table from another table kurta999 Scripting Help 8 23/08/2012 08:55 PM
Cars changin collors cruising Help Archive 6 19/02/2010 05:41 PM
changin player spawn weapons My_Waffles_Bitch_L0L Help Archive 2 13/02/2009 03:58 PM


All times are GMT. The time now is 01:49 PM.


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