[Tutorial] How to make a register system ( Dialogs, SQLite and rBits )
#56

me ajuda ai

C:\Users\ryan\Documents\Meus arquivos recebidos\Nova pasta\Game_Mode SP Vida RPG By Daniel\gamemodes\SPG.pwn(45446) : warning 217: loose indentation
C:\Users\ryan\Documents\Meus arquivos recebidos\Nova pasta\Game_Mode SP Vida RPG By Daniel\gamemodes\SPG.pwn(4549 : error 029: invalid expression, assumed zero
C:\Users\ryan\Documents\Meus arquivos recebidos\Nova pasta\Game_Mode SP Vida RPG By Daniel\gamemodes\SPG.pwn(4549 : warning 215: expression has no effect
C:\Users\ryan\Documents\Meus arquivos recebidos\Nova pasta\Game_Mode SP Vida RPG By Daniel\gamemodes\SPG.pwn(4549 : error 001: expected token: ";", but found "]"
C:\Users\ryan\Documents\Meus arquivos recebidos\Nova pasta\Game_Mode SP Vida RPG By Daniel\gamemodes\SPG.pwn(4549 : error 029: invalid expression, assumed zero
C:\Users\ryan\Documents\Meus arquivos recebidos\Nova pasta\Game_Mode SP Vida RPG By Daniel\gamemodes\SPG.pwn(4549 : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.






codigo


if(strcmp(cmd, "/algemar", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(!IsACop(playerid))
{
SendClientMessage(playerid, COLOR_GREY, " Vocк nгo й um policial!");
return 1;
}
if(OnDuty[playerid] != 1)
{
SendClientMessage(playerid, COLOR_GREY, " Vocк nгo Bateu o cartгo!");
return 1;
}
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_WHITE, "Use: /algemar [id]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
if(gTeam[giveplayerid] == 2 || IsACop(giveplayerid))
{
SendClientMessage(playerid, COLOR_GREY, " Vocк nгo pode algemar COPs !");
return 1;
}
if(PlayerCuffed[giveplayerid] > 0)
{
SendClientMessage(playerid, COLOR_GREY, " O Jogador jб esta algemado !");
return 1;
}
if (ProxDetectorS(8.0, playerid, giveplayerid))
{
//new car = GetPlayerVehicleID(playerid);
if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "Vocк nao pode se algemar!"); return 1; }
//if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == 2 && IsPlayerInVehicle(giveplayerid, car))
{
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* Vocк foi algemado pelo: %s.", sendername);
SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "* Vocк algemou %s.", giveplayer);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "* %s Algemou %s, para nao fugir.", sendername ,giveplayer);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GameTextForPlayer(giveplayerid, "~r~Algemado", 2500, 3);
TogglePlayerControllable(giveplayerid, 0);
PlayerCuffed[giveplayerid] = 2;
PlayerInfo[giveplayerid][pMuted] = 1;
SetPlayerAttachedObject(giveplayerid, 4, 19418, 6, -0.031999, 0.024000, -0.024000, -7.900000, -32.000011, -72.299987, 1.115998, 1.322000, 1.406000);
for(new i = 0; i < MAX_PLAYERS; i++)
{
return SetPlayerSpecialAction(giveplayerid, SPECIAL_ACTION_CUFFED);
}
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " O Jogador estб longe de Vocк !");
return 1;
}
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " O Jogador Estб Offline !");
return 1;
}
}
return 1;
}
Reply


Messages In This Thread
How to make a register system ( Dialogs, SQLite and rBits ) - by Lorenc_ - 21.08.2011, 03:54
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Jack_Wilson - 21.08.2011, 03:55
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Lorenc_ - 21.08.2011, 04:19
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Kush - 21.08.2011, 07:21
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Davz*|*Criss - 21.08.2011, 07:24
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by juraska - 21.08.2011, 08:17
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Kaperstone - 21.08.2011, 10:08
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Darnell - 21.08.2011, 10:57
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Lorenc_ - 21.08.2011, 11:27
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Kush - 21.08.2011, 12:06
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Scenario - 21.08.2011, 12:09
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by antonio112 - 21.08.2011, 13:02
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Lorenc_ - 21.08.2011, 22:01
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Bakr - 22.08.2011, 02:13
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Lorenc_ - 22.08.2011, 06:41
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Tee - 22.08.2011, 08:43
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Lorenc_ - 22.08.2011, 09:08
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Cowboy - 22.08.2011, 11:48
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by HyperZ - 22.08.2011, 13:44
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Gh0sT_ - 22.08.2011, 14:32
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Bakr - 22.08.2011, 14:40
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Cowboy - 22.08.2011, 14:50
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by AndreT - 22.08.2011, 18:05
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Lorenc_ - 23.08.2011, 06:52
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by XFlawless - 23.08.2011, 11:15
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Lorenc_ - 23.08.2011, 11:19
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by AndreT - 24.08.2011, 15:48
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by vIBIENNYx - 24.08.2011, 20:18
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Lorenc_ - 25.08.2011, 06:31
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Cowboy - 25.08.2011, 08:22
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Lorenc_ - 26.08.2011, 17:26
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by HotPlayer - 26.08.2011, 17:44
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by JaTochNietDan - 28.08.2011, 01:11
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Lorenc_ - 28.08.2011, 01:46
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Mr.Fames - 07.11.2011, 19:01
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Lorenc_ - 30.11.2011, 09:06
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Mr.Fames - 02.12.2011, 11:58
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by TRIPLE-xXx-GAMEING - 02.03.2012, 14:29
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Edvin - 04.03.2012, 13:34
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Konstantinos - 04.03.2012, 13:36
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by nitrochegs - 10.03.2012, 04:18
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by HDFord - 11.03.2012, 15:49
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Lorenc_ - 12.03.2012, 02:27
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by TTJJ - 13.03.2012, 11:32
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Karl[NDZ] - 19.03.2012, 17:47
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Danny1 - 18.04.2012, 15:28
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Danny1 - 20.04.2012, 12:49
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by KaWavan - 20.04.2012, 21:20
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Djumza - 21.04.2012, 22:42
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Jonny5 - 25.04.2012, 21:17
Re : How to make a register system ( Dialogs, SQLite and rBits ) - by yusei - 26.07.2012, 16:35
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by iSaad - 10.09.2012, 07:26
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by jamesmercer1947 - 10.09.2012, 14:46
Respuesta: How to make a register system ( Dialogs, SQLite and rBits ) - by u3games - 19.12.2012, 11:01
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Lorenc_ - 21.12.2012, 21:54
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by denilson_staff - 22.12.2012, 03:09
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by DJTunes - 22.12.2012, 04:16
Respuesta: Re: How to make a register system ( Dialogs, SQLite and rBits ) - by u3games - 23.12.2012, 00:46
Respuesta: How to make a register system ( Dialogs, SQLite and rBits ) - by RiChArD_A - 23.01.2013, 21:47
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Djean - 24.01.2013, 00:05
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by MyNinja - 24.01.2013, 04:07
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Madeline - 28.01.2013, 14:54
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by proSeryoga - 08.02.2013, 09:17
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by proSeryoga - 09.03.2013, 07:32
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Xeiss - 09.03.2013, 10:00
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Bennyy - 09.03.2013, 10:05
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by proSeryoga - 09.03.2013, 11:03
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by proSeryoga - 10.03.2013, 04:23
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by RVRP - 21.04.2013, 18:13
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Ayham - 23.11.2013, 13:30
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Cuhz - 23.11.2013, 14:23
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Nightangle - 29.07.2014, 07:53
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by freeze98 - 12.10.2014, 14:31
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by naveen - 18.04.2015, 12:22
Re: How to make a register system ( Dialogs, SQLite and rBits ) - by Uberanwar - 25.04.2015, 00:26

Forum Jump:


Users browsing this thread: 1 Guest(s)