Ninja
-
Posts
19 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
News
Documentation
Posts posted by Ninja
-
-
Buna intrebarea. Multi au renuntat, altii abia acum au descoperit desi jocul este vechi. Se va mai juca cat va fi platit .com ) apoi pa.
-
This topic has been moved to GF/RP stuff.
[iurl]http://www.sa-mp.ro/forum/index.php?topic=21635.0[/iurl]
-
Citeste aici -> http://www.sa-mp.ro/forum/index.php/topic,764.0.html
-
Report aiurea. xxSPEEDYxx urmatoru report ai BAN
http://www.mediafire.com/?18phu6w51oo5qkd - Audio
http://www.mediafire.com/?et704s2dk6sre5f - Progrees
-
daca ai serverul de windows e foarte usor sa treci pe linux. si plugin-urile le iei de pe sa-mp.com posteaza aici de care ai nevoie
-
Atunci cumpara HOST pentru SA-MP
Locked
-
Poti folosi numai in cazul in care ai activat SSH. De preferat iati un host pt sa-mp sau un VPS
-
NeO & Joint - WARN 2 Pentru SPAM si la urmatoru BAN 99 zile !
-
Reusita Bravo
-
:) se discuta cam mult LOCK TOPIC !
-
<img src="http://www.sa-mp.com/images/logo.gif" alt="" border="0"><br>0.3a
Mult asteptata versiune de sa-mp a aparut
-
frumos ... lam pus si eu la server
-
REZOLVAT
Topic CLOSED
-
Baga ID : ninja_xdrag 8) te ajut eu
-
mai usor ) ;D Frumos
-
Pune niste imagini ... ??? ??? ??? ???
-
PS: It's "Useful Functions", not "Usefull functions".
GivePlayerHealth(playerid, Float:health)
playerid - playerid, who we are giving health to
Float:health - amount of health we're giving
stock GivePlayerHealth(playerid, Float:health)
{
new Float:pHealth;
GetPlayerHealth(playerid, pHealth);
SetPlayerHealth(playerid, pHealth + health);
}
SetPlayerMoney(playerid, money)
playerid - playerid, who's money we're setting
money - amount of money what we're setting player's money to
stock SetPlayerMoney(playerid, money)
{
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid, money);
}
PlayerToPoint(Float:radi, playerid, X, Y, Z) (NOTE: not by me)
Float:radi - radius
playerid - player that we're checking
Float:x, Float:y, Float:z - The position we're checking player's length from
stock PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z){
new Float:oldposx, Float:oldposy, Float:oldposz;
new Float:tempposx, Float:tempposy, Float:tempposz;
GetPlayerPos(playerid, oldposx, oldposy, oldposz);
tempposx = (oldposx -x);
tempposy = (oldposy -y);
tempposz = (oldposz -z);
if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
{
return 1;
}
return 0;
}
StopMusic(playerid)
playerid - player that we're stopping the music for
stock StopMusic(playerid)
{
PlayerPlaySound(playerid, 1069, 0.0, 0.0, 0.0);
}
IsStringAName(string[]) (NOTE: Not by me)
string[] - String we're checking for name
stock IsStringAName(string[])
{
for(new i = 0; i <= MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) == 1)
{
new testname[MAX_PLAYER_NAME];
GetPlayerName(i, testname, sizeof(testname));
if(strcmp(testname, string, true, strlen(string)) == 0)
{
return 1;
}
}
}
return 0;
}
GetPlayerID(string[]) (NOTE: not by me)
string[] - the string, which contains a player name, which ID we're getting
stock GetPlayerID(string[])
{
for(new i = 0; i <= MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) == 1)
{
new testname[MAX_PLAYER_NAME];
GetPlayerName(i, testname, sizeof(testname));
if(strcmp(testname, string, true, strlen(string)) == 0)
{
return i;
}
}
}
return INVALID_PLAYER_ID;
}
-
Lista Obiectelor : http://pawn.sa-mp.ro.pastebin.com/f49880372
Folositi http://pawn.sa-mp.ro.pastebin.com pentru posturi mari, adaugati la favorite sau mai simplu www.pastebin.com
„Generația” veche de scripteri
in Totul şi Nimic
Posted
Salutare! Ma bucur ca cineva isi mai aduce aminte de vremurile bune.