Jump to content
  • 0

pomoc (HELP) Error


imhotep367

Dotaz

Dobrý den,dělám si stunt mod,začínám u objektů a když chci zkomplierovat hodí mi to tento error

 

C:\DOCUME~1\tom\DOKUME~1\Stunt.pwn(17 -- 18) : error 001: expected token: ",", but found "}"

 

nevíte co stim?

Link to comment
Share on other sites

11 odpovědí na tuto otázku

Recommended Posts

  • 0
public OnGameModeInit()
{
SetGameModeText("Stunt/Freeroam/Drift"),
CreateObject(11111, 1426.8864, -2497.1648, 23.3797, 315.3093, 0.0000, 269.7591, 500.0},

 

public OnGameModeInit()
{
SetGameModeText("Stunt/Freeroam/Drift"),
CreateObject(11111, 1426.8864, -2497.1648, 23.3797, 315.3093, 0.0000, 269.7591, 500.0)
}

Link to comment
Share on other sites

  • 0
public OnGameModeInit()
{
SetGameModeText("Stunt/Freeroam/Drift"),
CreateObject(11111, 1426.8864, -2497.1648, 23.3797, 315.3093, 0.0000, 269.7591, 500.0},

 

public OnGameModeInit()

{

SetGameModeText("Stunt/Freeroam/Drift"),

CreateObject(11111, 1426.8864, -2497.1648, 23.3797, 315.3093, 0.0000, 269.7591, 500.0);

}

Link to comment
Share on other sites

  • 0
Vy jste experti :d
public OnGameModeInit()
{
SetGameModeText("Stunt/Freeroam/Drift");
CreateObject(11111, 1426.8864, -2497.1648, 23.3797, 315.3093, 0.0000, 269.7591, 500.0);
}

:facepalm: vždyt sem tam jen dopsal in7ive-ovi středník...

Link to comment
Share on other sites

  • 0
Vy jste experti :d
public OnGameModeInit()
{
SetGameModeText("Stunt/Freeroam/Drift");
CreateObject(11111, 1426.8864, -2497.1648, 23.3797, 315.3093, 0.0000, 269.7591, 500.0);
}

:facepalm: vždyt sem tam jen dopsal in7ive-ovi středník...

ale zapoměls dát ještě jeden u SetGameModeText :shifty:

Link to comment
Share on other sites

  • 0
Vy jste experti :d
public OnGameModeInit()
{
SetGameModeText("Stunt/Freeroam/Drift");
CreateObject(11111, 1426.8864, -2497.1648, 23.3797, 315.3093, 0.0000, 269.7591, 500.0);
}

:facepalm: vždyt sem tam jen dopsal in7ive-ovi středník...

ale zapoměls dát ještě jeden u SetGameModeText :shifty:

jáj no vidíš :d ani sem si nevšiml :prase:

Link to comment
Share on other sites

  • 0
Vy jste experti :d
public OnGameModeInit()
{
SetGameModeText("Stunt/Freeroam/Drift");
CreateObject(11111, 1426.8864, -2497.1648, 23.3797, 315.3093, 0.0000, 269.7591, 500.0);
}

:facepalm: vždyt sem tam jen dopsal in7ive-ovi středník...

ale zapoměls dát ještě jeden u SetGameModeText :shifty:

 

No a?

 

Můžeš udělat:

 

GivePlayerMoney(..),
SetPlayerScore(..),
Ban(..);

Link to comment
Share on other sites

  • 0

 

No a?

 

Můžeš udělat:

 

GivePlayerMoney(..),
SetPlayerScore(..),
Ban(..);

Aha, v pawnu to jde oddělit i čárkou. Já vždy používám středník :d

 

Moje chyba :shifty:

Link to comment
Share on other sites

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...