Jump to content

Car ownership


Im_BanK

Recommended Posts

  • Replies 309
  • Created
  • Last Reply

Top Posters In This Topic

imi da erorile astea

C:\Documents and Settings\Marius\My Documents\GM SA-MP\RP&GF.BestOne.Ro\gamemodes\bestone.pwn(42075) : error 021: symbol already defined: "SendRconCommand"

C:\Documents and Settings\Marius\My Documents\GM SA-MP\RP&GF.BestOne.Ro\gamemodes\bestone.pwn(42076) : warning 203: symbol is never used: "carsonserver"

am facut tot cum trebuie ..

Link to comment
Share on other sites

am facut si eu acelasi lucru cum ai zis tu stunt , si tot nu merge , adica fac masina /acreatecar ma urc in ea ma recunoaste dau /v lock1 se inchuie , dau restart la server si e o masina publica ...

tind sa cred ca e ceva legat de un mysql ? nu e nevoie pt asa ceva?

SERVER :TraficGames| LosSantos | Roleplay

ADDRESS : 89.42.200.35:7777

Link to comment
Share on other sites

mam descurcat singur Foarte Frumos dar stii ce ar fi fost mai tare?sa il faci ca un meniu si /v buy sa fi fost /v buy [namecar] [color1] [color2] si sa vina masina ceruta de tine din acel meniu :) bineinteles masina sa aiba un pret prestabilit pe care sa il poti schimba din fs

rpg.reality-gaming.ro

Link to comment
Share on other sites

//asta o adaugati la sfarsitul OnGameModeInit PS: si aici trebuie return 1; sa ramana ultimul.

SendRconCommand("loadfs carownership");

Nu inteleg aici trebuie adaugat ? si ... asa ?:

[pawn]public OnGameModeInit()

{

    SendRconCommand("unloadfs carownership");

    return 1;

}[/pawn]

sau cum ? la cae cu Exit .. nu am primit eroare dar asta cu Inti nu o inteleg trebuie pusa sau nu trebuie :|

?

Link to comment
Share on other sites

[pawn]public OnGameModeInit()

{

    SendRconCommand("loadfs carownership");

    return 1;

}[/pawn]

Daca pui unloadfs o sa dea "unload"..da daca pui in gm cum am zis mai sus sa scoti din server.cfg carownership de la linia filescripts.

MS mult :)) nu am fost atent si nu am vazut ca era doar loadfs

Link to comment
Share on other sites

aaa mai am o problema ... am pus alea toate am rfk aia cu load... si nu am nici o eroare am schimbat ... acolo in FS numarul masinilor dp sv dar nu apare acolo langa hotel ... unde era showroomul de bike ca pe acolo tre sa fie am vzt si pe un alt sv ... daca stie cnv :D sau unde pot gasi ... cordonatele addstatickpickup de acolO :D ca mar cam interesa ... sa fak un showroom [map] si sa ... pun acolo comanda daca ma poate ajuta cineva cu aceste probleme ... VA ROG!

Link to comment
Share on other sites

Deci sa inteleg mai corect. Acest filterscript ajuta masinile spawnate pe server (cele de vinzare) sa aiba comenzile enumerate mai sus, sau mergi intr-un anumit punct, dai /v buy, si ti se spawneaza masina dorita??

Nu deci!

Intrii pe sv te loghezi cu rcon si iti spawneaza o masina cand folosesti comanda

Playerul se urca pe ea da /v buy si /v park si gata!

NU FOLOSI /VEH!!

rszadc33936a6e246e39ea2.png
Link to comment
Share on other sites

Deci lam pus si am adaugat masini in masini.cfg

de genu asta :

559,1735.166748,-1009.909179,23.610300,163.468505,-1,-1,Dealership,Jester,1850000,,0,0,0,
560,1763.163574,-1730.230712,13.086709,80.055282,-1,-1,Dealership,Sultan,2100000,,0,1,0,

Si nu functioneaza corect ba imi da masini de factiun[hitman,pd,ng,etc]

Ba imi da masini libere,de rent, de joburi

cum le pun nu leam pus bine ?

Link to comment
Share on other sites

Mie imi da 2 erori'

C:\Documents and Settings\BogdaneL\My Documents\Downloads\Modificat\Modificat\gamemodes\RomaniaLifeRPG.pwn(575) : error 001: expected token: ";", but found "new"
C:\Documents and Settings\BogdaneL\My Documents\Downloads\Modificat\Modificat\gamemodes\RomaniaLifeRPG.pwn(35671) : warning 203: symbol is never used: "carsonserver"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
1.
new gPlayerMission[MAX_PLAYERS];
new carsonserver = 290
new gLastDriver[302];
2 Error
public MoveCamera(playerid)
{
	//this is called trigonometry. It makes the camera spin
	//you can experiment with this line. Just change the values 2, 10 and 3 to make different effects
    SetPlayerCameraPos(playerid, player_x - 2 * floatsin(-PlayerInfo[playerid][SpawnAngle], degrees), player_y - 10 * floatcos(-PlayerInfo[playerid][SpawnAngle], degrees), player_z + 3);
    SetPlayerCameraLookAt(playerid, player_x, player_y, player_z + 0.5);

	//changing the angle a little
    PlayerInfo[playerid][SpawnAngle] += 0.5;

    if (PlayerInfo[playerid][SpawnAngle] >= 360.0)
        PlayerInfo[playerid][SpawnAngle] = 0.0;

}

Imi da eroare la ultima linie din din gm (parateza).

I can FLY

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.