Search Results
you forgot a semicolon before the enum
+ enums aren't necessary to finish with semicolon like
Код:
enum
{
pID,
....
}; //it isn't necessary
204
Quote:
Originally Posted by Gammix
Use SetPlayerPos first and SetPlayerPosFindZ after that. I think that would work.
I tried that but it doesn't give the right z coordinates
475
This is how to fix the problem when the position is so far from player and the z coordinate is 0,without using any plugins.
Код:
new bool:ClickedOnMap[MAX_PLAYERS] = false;
public OnPlayerClickMap...
475
Hello,
My question is that what will be if we use non repeatable timers repeatable like this?will be use high memory after minutes?
Код:
public OnGameModeInit()
{
SetTimer("TestFunction",1000,...
123
Try this one
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(IsPlayerInDmZone(playerid))//put your condition for checking is in zone
{
return 1;
}
return 0;...
122
if you are using BlueG's mysql system then try this one to load datas from mysql
Код:
Player[playerid][pID] = cache_get_field_content_int(0, "id");
cache_get_field_content(0, "password", Player[p...
161
try to log by printing in the console.i think its easier than makeing a new file.
Like This :
Код:
public OnPlayerConnect(playerid)
{
new pName[24];
GetPlayerName(playerid,pName,24);
printf("Pl...
119
This is a function exist in samp but you have only to do this and use it in your code
Код:
native IsValidVehicle(vehicleid);
71
Try to change maxnpc number from the server.cfg file
103
Try this if it works your code is wrong after the if
Код:
CMD:pickuphunt(playerid,params[])
{
SendClientMessage(playerid,-1,"Working!");
return 1;
}
82
try this
Код:
if(strfind(text, "$cash"))
{
str_replace("$cash", GetPlayerMoney(playerid), text));
}
161
You have forgot to use { } blocks or used ; instead : or : instead ;.
Check your script its syntax error,
51
how do i add normal bots in shop?i want to they freeze in their position on foot.if u can answer please help me
75
and the sql is
Код:
-- phpMyAdmin SQL Dump
-- version 4.1.5
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: May 28, 2014 at 09:29 AM
-- Server version: 5.5.35
-- PHP Versio...
215
hey guys please someone fix this
Код:
#include <a_samp>
#include <a_mysql>
#include <streamer>
#include <zcmd>
#include <sscanf2>
#define MySQL_Host "127.0.0....
215
Still dont work , can i send u whole Filterscript and u check it?
215
I used mysql_query() but still dont work. im using version R33
215