bandi94 Posted March 9, 2012 Share Posted March 9, 2012 I am makig a new version of my country detector that can find your city now i have made a simpel php and a server side i added into acl etc etc.. but my problem is always return nil include("sdk/mta_sdk.php"); $table = mta::getInput(); $text = $table[0]; if(isset($text)){ $cat = "Diego"; mta::doReturn($cat); } and a lua function result(sum) if sum==nil then outputChatBox("nil") else outputChatBox(sum) end end function addNumbers(number1) callRemote ( "http://dgt-mta.comoj.com/MTA/test.php", result, "text" ) end addNumbers ( 123 ) Link to comment
bandi94 Posted March 9, 2012 Author Share Posted March 9, 2012 fixed i am noob whit php i forgot the "<?php" and "?>" Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now