Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Recommended Posts

Posted

Salut , am incercat sa schimb coordonatele la jail spawn astfel :

// JAIL SPAWN
new Float:gRandomJailSpawns[3][3] = {
{250,1115.1315,3135.8599,4.2237,272.2851},
{250,1222.0573,3113.2234,4.2278,101.5168},
{250,1267.6554,3156.7180,4.2052,84.2833}

Si imi da aceasta eroare :

error 018: initialization data exceeds declared size

Dau +1 celui care ma ajuta.

Multumesc anticipat , o zi/seara faina in continuare !

 

Posted

Pune asa:

// JAIL SPAWN
new Float:gRandomJailSpawns[3][3] = {
{250,1115.1315,3135.8599,4.2237,272.2851},
{250,1222.0573,3113.2234,4.2278,101.5168},
{250,1267.6554,3156.7180,4.2052,84.2833}

};

Posted (edited)
Acum 59 minute, Exord a spus:

Salut , am incercat sa schimb coordonatele la jail spawn astfel :

// JAIL SPAWN
new Float:gRandomJailSpawns[3][3] = {
{250,1115.1315,3135.8599,4.2237,272.2851},
{250,1222.0573,3113.2234,4.2278,101.5168},
{250,1267.6554,3156.7180,4.2052,84.2833}

Si imi da aceasta eroare :

error 018: initialization data exceeds declared size

Dau +1 celui care ma ajuta.

Multumesc anticipat , o zi/seara faina in continuare !

 

deci tu ce ai facut ai copiat toate cordonatele gen  293,310.4004,-1881.0510,4.7063,195.1971,0,0,0,0,0,0   primul este skinul 293    iar dupa skin-ul respectiv este 310.4004,-1881.0510,4.7063 asta trebuie tu sa copi 

Edited by Geani
doar 6 cordonate iti trebuie

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Posted
11 hours ago, Geani said:

deci tu ce ai facut ai copiat toate cordonatele gen  293,310.4004,-1881.0510,4.7063,195.1971,0,0,0,0,0,0   primul este skinul 293    iar dupa skin-ul respectiv este 310.4004,-1881.0510,4.7063 asta trebuie tu sa copi 

Am incercat sa pun astfel insa atunci cand jucatorul moare cu wanted nu il da in jail , il da intr-un loc buguit iar cand incerc sa pun coordonatele mele imi da eroare.

Posted

arata tot codul cu cordonatele tale 

 

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Posted (edited)
new Float:gRandomJailSpawns[3][5] = {
  {250, 1115.1315, 3135.8599, 4.2237, 272.2851},
  {250, 1222.0573, 3113.2234, 4.2278, 101.5168},
  {250, 1267.6554, 3156.7180, 4.2052, 84.2833}
};

incearca asa

pentru a utiliza in gamemode poti folosi asa:

Pentru prima linie:
gRandomJailSpawns[0][0]; = skin
gRandomJailSpawns[0][1]; = pos x
gRandomJailSpawns[0][2]; = pos y
gRandomJailSpawns[0][3]; = pos z
gRandomJailSpawns[0][4]; = pos r

Linia 2
gRandomJailSpawns[1][0]; = skin
gRandomJailSpawns[1][1]; = pos x
gRandomJailSpawns[1][2]; = pos y
gRandomJailSpawns[1][3]; = pos z
gRandomJailSpawns[1][4]; = pos r

Linia 3
gRandomJailSpawns[2][0]; = skin
gRandomJailSpawns[2][1]; = pos x
gRandomJailSpawns[2][2]; = pos y
gRandomJailSpawns[2][3]; = pos z
gRandomJailSpawns[2][4]; = pos r

 

Edited by BuNiCu-RP
  • Haha 1
Posted
La 26.11.2017 la 21:07, BuNiCu-RP a spus:

new Float:gRandomJailSpawns[3][5] = {
  {250, 1115.1315, 3135.8599, 4.2237, 272.2851},
  {250, 1222.0573, 3113.2234, 4.2278, 101.5168},
  {250, 1267.6554, 3156.7180, 4.2052, 84.2833}
};

incearca asa

pentru a utiliza in gamemode poti folosi asa:

Pentru prima linie:
gRandomJailSpawns[0][0]; = skin
gRandomJailSpawns[0][1]; = pos x
gRandomJailSpawns[0][2]; = pos y
gRandomJailSpawns[0][3]; = pos z
gRandomJailSpawns[0][4]; = pos r

Linia 2
gRandomJailSpawns[1][0]; = skin
gRandomJailSpawns[1][1]; = pos x
gRandomJailSpawns[1][2]; = pos y
gRandomJailSpawns[1][3]; = pos z
gRandomJailSpawns[1][4]; = pos r

Linia 3
gRandomJailSpawns[2][0]; = skin
gRandomJailSpawns[2][1]; = pos x
gRandomJailSpawns[2][2]; = pos y
gRandomJailSpawns[2][3]; = pos z
gRandomJailSpawns[2][4]; = pos r

 

mersi miai dat o ideie pentru un new proiect

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.