Jump to content

Question

Posted

Nick:Ionuţ23.

Problema:Încerc să compilez un script , sunt nou pe chestia asta cu scripting-ul ,şi am nevoie de ajutor , vă rog.

Erori / warnings:[pawn]C:\Users\Ionut\Downloads\Quit GF-RP\remove.pwn(8) : error 055: start of function body without function header

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

[/pawn]

Lini/script: [pawn]#include <a_samp>

#include <YSI\y_ini>

#include <zcmd>

#include <sscanf2>

#include <removebuilding>

public OnPlayerConnect(playerid);

{

    RemoveBuildingForPlayer(playerid, 5849, 1046.6797, -935.1953, 46.9922, 0.25);

    RemoveBuildingForPlayer(playerid, 5854, 992.5313, -962.7344, 60.7813, 0.25);

    RemoveBuildingForPlayer(playerid, 1266, 1029.1797, -939.5156, 52.7500, 0.25);

    RemoveBuildingForPlayer(playerid, 1260, 1029.1797, -939.5156, 52.7500, 0.25);

    RemoveBuildingForPlayer(playerid, 5848, 1046.6797, -935.1953, 46.9922, 0.25);

    RemoveBuildingForPlayer(playerid, 4518, 1694.3203, 395.1094, 31.1641, [/pawn]

Ai incercat sa rezolvi singur ?: Da. Am căutat peste tot şi nu am găsit..

4 answers to this question

Recommended Posts

Posted

Cum adică , că nu ştiu , sunt nou pe chestia asta , scuză-mă te rog , şi îţi mulţumesc mult că ai depus efortul de a te uita.

Posted

adica aici :

[pawn]public OnPlayerConnect(playerid);

{

    RemoveBuildingForPlayer(playerid, 5849, 1046.6797, -935.1953, 46.9922, 0.25);

    RemoveBuildingForPlayer(playerid, 5854, 992.5313, -962.7344, 60.7813, 0.25);

    RemoveBuildingForPlayer(playerid, 1266, 1029.1797, -939.5156, 52.7500, 0.25);

    RemoveBuildingForPlayer(playerid, 1260, 1029.1797, -939.5156, 52.7500, 0.25);

    RemoveBuildingForPlayer(playerid, 5848, 1046.6797, -935.1953, 46.9922, 0.25);

    RemoveBuildingForPlayer(playerid, 4518, 1694.3203, 395.1094, 31.1641,); /*Aici nu ai pus paranteza asta la final [/pawn]

Posted

Mulţumesc , am rezolvat , eu făceam într-un pawno new , nu ştiam că trebuie în Gamemode , scuzaţi-mă şi mulţumesc pentru ajutor , mulţumesc frumos . O zii bună.

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.