Jump to content
  • 0

Ajutor!


alexutu

Question

9 answers to this question

Recommended Posts

aici se cere ajutor...cu errors / warnings nu se cer comenzi gata facute...unde este ce ai incercat tu..?

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Link to comment
Share on other sites

if(strcmp(pName(playerid), Car_Owner1, true) == 0)

GetPlayerPos(playerid, X,Y,Z);
SetVehiclePos(phoenix, x+2,y+2,z);
PutPlayerInVehicle(playerid, phoenix, 0);

la Car_Owner1 pui numele...care este de ex...

#define Car_Owner1  "[PhX]Exc1siOn[PhX]"

unde [phx]exci.... este numele proprietarului

iar unde este phoenix ... sa pui numele care lai pui la acea masina de ex...

phoenix = AddStaticVehicle(........);

sper ca ai inteles...daca nu functioneaza dane niste linii de la "slot 1" si de la comanda /v... daca o ai creeata

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Link to comment
Share on other sites

ala care il definesti dar pui if(vip nuj ce ai peacolo in loc de strcmp ala

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Link to comment
Share on other sites

eu am incercat sa fac pentru toti vipi dar nu imi tp masina.Am facut comanda dupa /getcar

[pawn] if(strcmp(cmd, "/v call", true) == 0)

{

    if(IsPlayerConnected(playerid))

    {

  tmp = strtok(cmdtext, idx);

if(!strlen(tmp))

{

SendClientMessage(playerid, COLOR_GRAD2, "[Ft:Rp]: /getcar [carid]");

return 1;

}

new Float:plocx,Float:plocy,Float:plocz;

new plo;

plo = strval(tmp);

if (PlayerInfo[playerid][pDonateRank] >= 3)

{

GetPlayerPos(playerid, plocx, plocy, plocz);

SetVehiclePos(plo,plocx,plocy+4, plocz);

PutPlayerInVehicle(playerid,pPcarkey,0);

}

else

{

SendClientMessage(playerid, COLOR_GRAD1, "  Nu esti autorizat sa folosesti aceasta comanda!");

}

}

return 1;

}[/pawn]

(?_?_?_?(???????????(??_?_?_??K??E??N??T?????????_?_?_?_?()??

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.