Ajuda problema parece ser simples pra quem sabe! por favor ajudem-me
#1

ae galera mais 1 vez eu aki.

por favor alguem pode me ajudar neste erro aki.

E:\Documents and Settings\Jones\Desktop\sftdm(1).pwn(137) : error 001: expected token: ";", but found "-identifier-"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#2

Coloca essa linha aew que agente ajuda
Reply
#3

AddPlayerClass(124,1959.8483,-2137.6133,14.7477,50.6758,0,0,0,0,0,0); //aero

essa e a linha do erro
Reply
#4

Voзк tem assim?

pawn Код:
public OnGameModeInit()
{
  AddPlayerClass(124, 1959.8483, -2137.6133, 14.7477, 50.6758, 0, 0, 0, 0, 0, 0);//aero
  return 1;
}
Reply
#5

aqui ta dessa forma aki:

public OnGameModeInit()

{

SetGameModeText("San Fierro TDM");

SetTeamCount(7);

ShowNameTags(1);

ShowPlayerMarkers(1);

SetWorldTime(1;

SetTimer("UpdateScore",1000,1);


AddPlayerClass(260,-2062.5583,237.4662,35.7149,268.8936,22,272,25,40,4 ,1); //Worker

AddPlayerClass(249,-2653.6443,1388.2767,7.1301,212.8453,23,272,29,270, 5,1); //Pimp

AddPlayerClass(259,-2642.2583,-274.9985,7.5393,135.0036,25,40,32,250,9,1); //Golfer

AddPlayerClass(118,-2157.2119,649.5484,52.3672,267.0820,24,70,31,250,4 ,1); //Triad

AddPlayerClass(50,-1377.4271,466.0897,7.1875,1.0348,22,272,30,300,9,1 ); //Mechanic

AddPlayerClass(253,-1754.9976,958.5851,24.8828,163.2550,25,40,24,70,4, 1); //Valet

AddPlayerClass(274,-2665.4282,635.6348,14.4531,179.8403,33,40,23,272,4 ,1); //Medic

AddPlayerClass(286,-1635.0077,665.8105,7.1875,264.2244,29,300,22,170,3 ,1); //FBI

main()

AddPlayerClass(124,1959.8483,-2137.6133,14.7477,50.6758,0,0,0,0,0,0); //aero
Reply
#6

Код:
public OnGameModeInit()

{

  SetGameModeText("San Fierro TDM");

  SetTeamCount(7);

  ShowNameTags(1);

  ShowPlayerMarkers(1);

  SetWorldTime(18);

  SetTimer("UpdateScore",1000,1);


  AddPlayerClass(260,-2062.5583,237.4662,35.7149,268.8936,22,272,25,40,4,1); //Worker

  AddPlayerClass(249,-2653.6443,1388.2767,7.1301,212.8453,23,272,29,270,5,1); //Pimp

  AddPlayerClass(259,-2642.2583,-274.9985,7.5393,135.0036,25,40,32,250,9,1); //Golfer

  AddPlayerClass(118,-2157.2119,649.5484,52.3672,267.0820,24,70,31,250,4,1); //Triad

  AddPlayerClass(50,-1377.4271,466.0897,7.1875,1.0348,22,272,30,300,9,1); //Mechanic

  AddPlayerClass(253,-1754.9976,958.5851,24.8828,163.2550,25,40,24,70,4,1); //Valet

  AddPlayerClass(274,-2665.4282,635.6348,14.4531,179.8403,33,40,23,272,4,1); //Medic

  AddPlayerClass(286,-1635.0077,665.8105,7.1875,264.2244,29,300,22,170,3,1); //FBI

  main()

  AddPlayerClass(124,1959.8483,-2137.6133,14.7477,50.6758,0,0,0,0,0,0); //aero
  return 1;
  }
pelo q vi no codigo de erro parece q vc coloco uma , no lugar de um ; mais acho q nao e isso tenta o codigo ae d cima c nao der tira o main() c continuar dando erro posta aki os erros vlw
Reply
#7

vlw brother pela ajuda foi so tirar o main. :P
Reply
#8

main()
as vezes nгo precisa =D
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)