Jump to content
  • 0

[HELP]Coodonate


Mr.Bogdan

Question

Salutare 

Setatimi si mie coordonatele pe aceasta comanda 

 
 
if(strcmp(cmd, "/bonus", true) == 0)
{
if(!IsPlayerConnected(playerid))
return SendClientMessage(playerid, COLOR_GRAD1, "Nu esti conectat!");
 
if(PlayerInfo[playerid][pLevel] >3)
return SendClientMessage(playerid, COLOR_GRAD1, "Ai folosit deja Bonusul!");
 
if ( IsPlayerInRangeOfPoint( playerid, 5, 1636.1063,-2237.5037,13.5063 ) )
{
GivePlayerCash(playerid,100000);
PlayerInfo[playerid][pLevel] += 1;
GameTextForPlayer(playerid,"~b~Ai primit Level 2 si suma de 10.000.000$$",5000, 3);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Nu te afli la locul de bonus!");
}
return 1;
}
Create3DTextLabel("Scrie{06B39C}/bonus {FFFFFF}pentru a n primi bonusul!",0xFF9700DE,1636.1063,-2237.5037,13.5063,40.0,0);
 
 
 
Coordonatele sunt:AddPlayerClass(217,1711.4510,-1670.3658,20.2246,174.6943,0,0,0,0,0,0); // 

ATENTIE!!! Nu imi trimiteti mesaje  care nu au legatura cu scriptingul!

Ma gasiti la 

Skype:Unknown.gta

Y!M:[email protected]

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Spor la inlocuit:

IsPlayerInRangeOfPoint( playerid, 5, 1636.1063, -2237.5037, 13.5063

playerid - playerid

5 - de la ce distanta de coordonate se poate accesa comanda

1636.1063 - Coordonata X

-2237.5037 - Coordonata Y

13.5063 - Coordonata Z

 

AddPlayerClass(217, 1711.4510, -1670.3658, 20.2246, 174.6943, 0, 0, 0, 0, 0, 0); // 

• 217 - skin id

1711.4510 - Coordonata X

-1670.3658 - Coordonata Y

20.2246 - Coordonata Z

• 174.6943 - Rotatia

Edited by Punct.

Nu mai deschideti in pu*a mea servere de SA:MP !

Jucati-va pe cele care sunt !   Sunt suficiente !

Reguli de bun simt:

1. Nu faceti reclama unde nu trebuie !

2. Nu injurati ca la usa cortului !

3. Daca esti analfabeti, taci din gura !

4. Nu abuza de 'scuze', 'din greseala' !

 

My work ::: http://pastebin.com/VRNRcaAs

Link to comment
Share on other sites

  • 0

Nu ai voie sa ceri scripturi.

 

Inlocuiesti coordonata X de la IsPlayerInRangeOfPoint, cu cea de la AddPlayerClass

Inlocuiesti coordonata Y de la IsPlayerInRangeOfPoint, cu cea de la AddPlayerClass
Inlocuiesti coordonata Z de la IsPlayerInRangeOfPoint, cu cea de la AddPlayerClass

 

 

Ti le-am facut si colorate sa le vezi mai bine :|

Nu mai deschideti in pu*a mea servere de SA:MP !

Jucati-va pe cele care sunt !   Sunt suficiente !

Reguli de bun simt:

1. Nu faceti reclama unde nu trebuie !

2. Nu injurati ca la usa cortului !

3. Daca esti analfabeti, taci din gura !

4. Nu abuza de 'scuze', 'din greseala' !

 

My work ::: http://pastebin.com/VRNRcaAs

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.