Jump to content
  • 0

Nu mai porneste


IcE.

Question

Salut,

Am o problema la server. Am incercat sa bag masini prin {id,x,z,y,a,c1,c1} dar nu imi porneste sv de la faza asta. daca il scot porneste....

Server_Log


----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3c, (C)2005-2010 SA-MP Team

[18:38:09] 
[18:38:09] Server Plugins
[18:38:09] --------------
[18:38:09]  Loaded 0 plugins.


----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3c, (C)2005-2010 SA-MP Team

[18:38:09] 
[18:38:09] Server Plugins
[18:38:09] --------------
[18:38:09]  Loaded 0 plugins.

[18:38:09] 
[18:38:10] 
[18:38:10] Filter Scripts
[18:38:10] Filter Scripts
[18:38:10] ---------------
[18:38:10]   Loading filter script 'weapons.amx'...
[18:38:10]  * WeaponHolder - Loaded successfully!
[18:38:10]   Loading filter script 'pd.amx'...
[18:38:10]   Unable to load filter script 'pd.amx'.
[18:38:10] ---------------
[18:38:10]   Loading filter script 'weapons.amx'...
[18:38:10]  * WeaponHolder - Loaded successfully!
[18:38:10]   Loading filter script 'pd.amx'...
[18:38:10]   Unable to load filter script 'pd.amx'.
[18:38:10]   Loaded 1 filter scripts.

[18:38:10]   Loaded 1 filter scripts.

Funcita
enum eCars
{
	model_id,
	Float:pos_x,
	Float:pos_y,
	Float:pos_z,
	Float:z_angle,
	carcolor1,
	carcolor2,
};

new CarSpawns[90][eCars] = {
	{562,-314.8085,1515.3475,75.0552,0.4005,21,63}, // drift1
	{562,-317.9107,1515.4402,75.0573,0.0323,21,63} // drift1
};

//si la OnGameMode
   for(new h = 0; h < sizeof(CarSpawns)
	{
		AddStaticVehicleEx(CarSpawns[h][model_id], CarSpawns[h][pos_x], CarSpawns[h][pos_y], CarSpawns[h][pos_z], CarSpawns[h][z_angle], CarSpawns[h][carcolor1], CarSpawns[h][carcolor2], 60000);
	}

cum fac sa mearga?

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

In loc de

new CarSpawns[90][eCars] = {
   {562,-314.8085,1515.3475,75.0552,0.4005,21,63}, // drift1
   {562,-317.9107,1515.4402,75.0573,0.0323,21,63} // drift1
};
incearca
new CarSpawns[2][eCars] = {
   {562,-314.8085,1515.3475,75.0552,0.4005,21,63}, // drift1
   {562,-317.9107,1515.4402,75.0573,0.0323,21,63} // drift1
};

Link to comment
Share on other sites

nu :o :O

eu am 90 de masini am pus decat doua acolo :D

am rezolvat dar din 90 de masini apar decat 12....

rezolvat am adaugat dupa CarSpawns); h++

acum am alta problema si sa nu mai fac alt topic

cand scriu ceva imi apare de doua ori. dc?

public OnPlayerText(playerid, text[])
{
	SendPlayerMessageToAll(playerid, ColouredText(text));
    SetPlayerChatBubble(playerid, text, 0xCC33C8FF, 100.0, 10000);
	return 1;
}

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Link to comment
Share on other sites

nu :o :O

eu am 90 de masini am pus decat doua acolo :D

am rezolvat dar din 90 de masini apar decat 12....

rezolvat am adaugat dupa CarSpawns); h++

acum am alta problema si sa nu mai fac alt topic

cand scriu ceva imi apare de doua ori. dc?

public OnPlayerText(playerid, text[])
{
	SendPlayerMessageToAll(playerid, ColouredText(text));
    SetPlayerChatBubble(playerid, text, 0xCC33C8FF, 100.0, 10000);
	return 1;
}
Well done. Corect:
public OnPlayerText(playerid, text[])
{
	SendPlayerMessageToAll(playerid, ColouredText(text));
    SetPlayerChatBubble(playerid, text, 0xCC33C8FF, 100.0, 10000);
	return 0;
}

return 0; nu mai trimite mesajul original.

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.