Search Results
you can get id of this car:
Код:
new car = CreateVehicle..
PutPlayerInVehicle...
DsVehicle[playerid] = GetPlayerVehicleID(playerid);
and for destroy vehicle:
Код:
DestoryVehicle(DsVehicle[pl...
58
Код:
CheckAllowedChar( const string[ ] )
{
for( new i = 0; string[ i ] != EOS; ++i )
{
switch( string[ i ] )
{
/*here your all chars*/
case '0'..'9', 'A'..'Z...
130
Quote:
Originally Posted by !damo!spiderman
This is because you're using a threaded query (mysql_tquery) which generally calls a callback once it is done. You have not specified any callba...
82
hey guys i have one problem with cache_get_data my code here:
Код:
public CheckAccout(playerid){
new pName[MAX_PLAYER_NAME],str[180],query[128];
GetPlayerName(playerid,pName,sizeof(pName));
my...
82
here - > http://pastebin.com/
and replace your script
100
This?
Код:
<?php
session_start();
if(isset($_POST['login'])){
if($_POST['user'] && $_POST['password']){
include ("variables.php");
$connection = mysql_connect ($dbserv...
96
this?
Код:
forward OnPlayerSave(playerid);
public OnPlayerSave(playerid)
{
new query[1000];
pInfo[playerid][pSkinID] = GetPlayerSkin(playerid);
if(IsLoggedIn[playerid] == 1 &&...
138
you can use '/' for new line.
this?
Код:
forward OnPlayerSave(playerid);
public OnPlayerSave(playerid)
{
new query[500];
pInfo[playerid][pSkinID] = GetPlayerSkin(playerid);
if(IsLogge...
138
this?
Код:
forward OnPlayerSave(playerid);
public OnPlayerSave(playerid)
{
new query[500];
pInfo[playerid][pSkinID] = GetPlayerSkin(playerid);
if(IsLoggedIn[playerid] == 1 && ...
138
Quote:
Originally Posted by Konstantinos
https://sampwiki.blast.hk/wiki/Db_get_field_assoc
Store it to a temporary string and then floatstr the result.
thank you very much +rep
132
Hello guys i have one question how to get one float with sqlite?
my code here:
Код:
db_get_field_assoc(Result,"x",Pos[0],32);
db_get_field_assoc(Result,"y",Pos[1],32);
db_get_field_assoc(Result,...
132
Quote:
Originally Posted by thegomagot
It's simple but i like it
Thanks!
Quote:
Originally Posted by Kinglee
Simple, but good.
Thanks!
860
very good tutorial and thx for PHP part!
i learn php
2,655
Quote:
Originally Posted by CharCoast
Very good template
Thanks you
860
Код:
public OnRetrieveIpLocation(playerid, country[])
{
new pname[MAX_PLAYER_NAME], ip[16];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
GetPlayerIp(playerid, ip, sizeof(ip));
...
89
Quote:
Originally Posted by Sn4ke2
Hy all !
I have a problem.
I make a dialog to transport wood, look:
PHP код:
if(dialogid == DIALOG_TRANSPORTWOOD)
{
if(...
64