IcE.
-
Posts
1,094 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by IcE.
-
-
Titlu.
Cauta, sunt zeci de topicuri, si cateva tutoriale despre asta.
-
[pawn] if(strcmp(cmd, "/ls", true) == 0)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1529.6,-1691.2,13.3);//inlocui cordonatele
}
else
{
SetPlayerPos(playerid, 1529.6,-1691.2,13.3);//inlocui cordonatele
}
SendClientMessage(playerid, COLOR_GRAD1, " You have been teleported !");
SetPlayerInterior(playerid,0);
}
return 1;
}[/pawn]
-
Cand ai copiat alea ai uitat sa pui tot-u
http://forum.sa-mp.com/showthread.php?t=90880
-
Scoate JunkBuster .Si no sa mai ai problema asta.Dar ceva temporar nu se poate face sa nu mai fie destepti din astia care blocheaza gm-ul?
-
[pawn]public IsABus(carid)
{
if(carid == 431 || carid == 432)//mai cauta id-urile corecte , si le inlocui tu.
{
return 1;
}
return 0;
}[/pawn]
-
Scuze 4x post!
IsaBus.. este:
if(IsABus(tmpcar))
Id-urile autobuzelor sunt: 431 si 431 2 autobuze cu id-urile 431
Ma omori cu zile
Caut in gm "public IsABus" si posteazal , si nu cred ca alea sunt idurile.
-
Scuze pentru Triplu post, dar unde anume in isabuscar sa pun id-urile dami un exemplu te rog frumos
posteaza tot public isabus , si ti le modific eu , numa ca tu sa imi dai id-uile corecte.
-
Esti sigur, ca iti da warn in gm si nu in include?
Eu zic ca iti da warn in include. Posteaza toata linia, cu tot cu locatia.
-
Scuze pentru Dubllu Post, in loc de isabuscar sa pun
if(carid == 36 || carid == 35)
?
Nu . Intra in autobuze(in game) si dai /oldcar, si pui id-urile care apar acolo la isabus.
-
Nu se cer comenzi!
-
Modifica de la public IsABus id-urile de la autobuze.
-
Bravo , eu cred ca e facut de tine
si...
Rock nu vad unde e fs-u asta complicat :\.
-
Posteaza pe sa-mp.com iti va raspunde kalcor.
-
Ai mai postat odata http://www.sa-mp.ro/forum/index.php/topic,20496.msg115324.html#msg115324
-
1.if(IsPlayerAdmin(playerid))
2.http://wiki.sa-mp.com/wiki/MapIcons
-
Titlu, nai postat unde trebuie.
-
[pawn]#include <a_samp>
#define bandana 1000
enum pInfo
{
pDonateRank
}
new PlayerInfo[MAX_PLAYERS][pInfo];
#define SetPlayerHoldingObject(%1,%2,%3,%4,%5,%6,%7,%8,%9,%10) SetPlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1,%2,%3,%4,%5,%6,%7,%8,%9,%10)
#define StopPlayerHoldingObject(%1) RemovePlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)
#define IsPlayerHoldingObject(%1) IsPlayerAttachedObjectSlotUsed(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)
main()
{
print("[FS]Hold Bandana by Lucian.");
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/bandana", true) == 0)
{
if(PlayerInfo[playerid][pDonateRank] > 1)
{
ShowPlayerDialog(playerid,bandana,DIALOG_STYLE_LIST,"Bandana","Bandana 1\nBandana 2\nBandana 3\nBandana 4\nBandana 5\nBandana 6\nBandana 7\nBandana 8\nBandana 9\nBandana 10\nRemove Bandana","OK","");
}
return 1;
}
return 0;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid==bandana)
{
if(response)
{
if(listitem==0)
{
SetPlayerAttachedObject( playerid, 0, 18917, 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
}
if(listitem==1)
{
SetPlayerAttachedObject( playerid, 0, 18913, 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
}
if(listitem==2)
{
SetPlayerAttachedObject( playerid, 0, 18916, 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
}
if(listitem==3)
{
SetPlayerAttachedObject(playerid, 0, 18915, 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
}
if(listitem==4)
{
SetPlayerAttachedObject(playerid, 0, 18912 , 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
}
if(listitem==5)
{
SetPlayerAttachedObject(playerid, 0, 18911 , 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
}
if(listitem==6)
{
SetPlayerAttachedObject( playerid, 0, 18914, 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
}
if(listitem==7)
{
SetPlayerAttachedObject(playerid, 0, 18918, 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
}
if(listitem==8)
{
SetPlayerAttachedObject(playerid, 0, 18920 , 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
}
if(listitem==9)
{
SetPlayerAttachedObject(playerid, 0, 18919 , 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754);
}
if(listitem==10)
{
for(new i;i<5;i++) RemovePlayerAttachedObject(playerid,i);
}
}
return 1;
}
return 0;
}
public OnFilterScriptExit()
{
for(new i=0;i<MAX_PLAYERS;i++)
if(IsPlayerConnected(i))
StopPlayerHoldingObject(i);
return 0;
}[/pawn]
-
In DB ti se seteaza ceva ? Sau ramane gol ?
PS:2x post , warn.
-
Posteaza server_log.txt si dupaia mai vedem ce are.
-
[pawn]
//la variabile (ex la pInfo)
pRegulament,
//OnPlayerConnect
if(PlayerInfo[playerid][pRegulament] == 0)
{
//dialogu
}
//OnDialogResponse aici adaugi ce ai tu la dialog, si mai adaugi PlayerInfo[playerid][pRegulament] = 1;[/pawn]
-
Titlu.
-
Titlu.
-
Titlu.
-
NuNu sunt prea sigur, da cred ca probleme GF!
Descarca noul streamer http://code.google.com/p/samp-streamer-plugin/downloads/list
Problema sistem de masini personale
in Arhivă probleme
Posted
Acel mesaj, daca e sub forma GameText, nu apare mereu.
Schimbal intrun dialog/chat mesaj sau TD.