Duvidaaaa
#1

Tipo Fiz Sistema no meu gm de chamar instrutor
mais queria que so desse de chamar na auto escola
mais nao consigo por playertopoint olhem o code

Код:
if(strcmp(x_nr,"Instrutores",true) == 0)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "** %s Esta Na Auto-Escola e Necessita de um Instrutor. (Use /aceitar Intrutor - Para Aceitar a Chamada)", sendername);
SendFamilyMessage(11, TEAM_AZTECAS_COLOR, string);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce chamou um Instrutor... Agora espera a resposta.");
InstrutorCall = playerid;
return 1;
}
Ajudem Please
Reply
#2

pegue a coordenada com /save de onde quiser ai resolvemos
Reply
#3

Cordenadas Sao essas: 354.9509,154.5108,1025.7964
Reply
#4

pawn Код:
if(strcmp(x_nr,"Instrutores",true) == 0)
{
    if(PlayerToPoint(2.0,playerid,354.9509,154.5108,1025.7964 )
    {
        GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "** %s Esta Na Auto-Escola e Necessita de um Instrutor. (Use /aceitar Intrutor - Para Aceitar a Chamada)", sendername);
        SendFamilyMessage(11, TEAM_AZTECAS_COLOR, string);
        SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Voce chamou um Instrutor... Agora espera a resposta.");
        InstrutorCall = playerid;
        return 1;
    }
    else
    {
        SendClientMessage(playerid,COR, "Vocк nгo esta na autoe escola");
        return 1;
    }
}
Reply
#5

Deu Um Erro

C:\Documents and Settings\rafael\Meus documentos\Rafael - Documentos\Arquivos de Programaзao Hardware\samp03bsvr_R2_win32\gamemodes\Thug.pwn(30 724) : error 001: expected token: ")", but found "{"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Linha DO ERRO

pawn Код:
if(PlayerToPoint(2.0,playerid,354.9509,154.5108,1025.7964)
{
Reply
#6

Ficou faltando fechar um parкntese.

Код:
if(PlayerToPoint(2.0,playerid,354.9509,154.5108,1025.7964))
Reply
#7

Vlw De Certim Closed obrigado a todos que me ajudaram
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)