Ayuda con CheckPoint
#2

Quote:
Originally Posted by godoy32
Посмотреть сообщение
Hola, estoy intentando crear un CP para el banco, pero cuando entra el CP no pasa nada.
Dejo el cуdigo para que me puedan ayudar
pawn Код:
public OnFilterScriptInit()
{
    GetinBank = CreateDynamicCP(1481.283813, -1770.431152, 18.795755, 1.0,-1,-1,-1,12.0);
    GetoutBank = CreateDynamicCP(2304.675537, -16.035686, 26.742187, 1.0,-1,-1,-1,12.0);
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
if(checkpointid == GetinBank)
{
SetPlayerPos(playerid,2313,-4, 27);
SendClientMessage(playerid,COLOR_YELLOW,"Escribe /bank");
SetPlayerInterior(playerid,0);
SetCameraBehindPlayer(playerid);
return 0;
}
if(checkpointid == GetoutBank)
{
SetPlayerPos(playerid,1481.130371,-1763.401000, 18.795755);
SetPlayerFacingAngle(playerid,0.0);
SetPlayerInterior(playerid,0);
SetCameraBehindPlayer(playerid);
return 0;
}
return 1;
}
Espero que me puedan ayudar
lol, empecй a poner el cуdigo, sus espacios, etc, cuando compile me dio 1000 errores xD

No serб por que tienes return 0;?
Reply


Messages In This Thread
Ayuda con CheckPoint - by godoy32 - 07.10.2011, 19:41
Re: Ayuda con CheckPoint - by EduGTA - 07.10.2011, 19:50
Respuesta: Ayuda con CheckPoint - by Jovanny - 07.10.2011, 19:55
Respuesta: Ayuda con CheckPoint - by godoy32 - 07.10.2011, 20:21
Respuesta: Ayuda con CheckPoint - by Jovanny - 07.10.2011, 21:15
Respuesta: Ayuda con CheckPoint - by godoy32 - 07.10.2011, 21:23
Respuesta: Ayuda con CheckPoint - by Jovanny - 07.10.2011, 22:17
Respuesta: Ayuda con CheckPoint - by godoy32 - 07.10.2011, 22:27

Forum Jump:


Users browsing this thread: 1 Guest(s)