[POMOC] Intro

Započeo oO° HarisZornic °Oo, Februar 08, 2011, 11:37:01 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Evo, pravim neki malo intro, dodo sam textove i 1 timer ovako:

Timer:

forward Intro();

OnPlayerRequestClass:

TextdrawShowForPlayer(playerid, ...);
SetTimer(Intro, 1000);

public Intro()
{
TextDrawHideForPlayer(playerid, ...)
return 1;
}


I sad mi izbacuje ove errore koje nikad nije :S

C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(3640) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(3669) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(3903) : error 004: function "SafeSetPlayerInterior" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(3946) : error 017: undefined symbol "GetVehicleName"
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(3946) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(3963) : error 004: function "IsASalesVehicle" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(3967) : error 004: function "GetVehiclePrice" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(4057) : error 004: function "SafeSetPlayerPos" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(4062) : error 004: function "SafeSetPlayerPos" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(4067) : error 004: function "SafeSetPlayerPos" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(4072) : error 004: function "SafeSetPlayerPos" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(4077) : error 004: function "SafeSetPlayerPos" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(4086) : error 004: function "SafeSetPlayerPos" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(4869) : error 004: function "SendAdminMessage" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(5488) : error 004: function "SendIRCMessage" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(5510) : error 004: function "SendIRCMessage" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(5522) : error 004: function "SaveCK" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(5552) : error 004: function "SavePapers" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(5583) : error 004: function "SaveFamilies" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(5827) : error 004: function "OOCOff" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(5841) : error 004: function "OOCOff" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(5847) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(5861) : error 004: function "SaveStuff" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(5863) : error 004: function "OOCOff" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(5869) : error 004: function "SaveStuff" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(5871) : error 004: function "OOCOff" is not implemented
C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(5887) : error 004: function "SafeResetPlayerWeapons" is not implemented

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.


Mod je Ravens

Respekt:
eXtreme
BloodMaster
Paradox

Citat: John_DillingthonEldin_Omanovic mi je ukrao auto.

Svjedok: Emir_Scofield.




Verovatno si zaboravio neku zagradu da stavis ili sta stavio visak.


forward Intro(playerid);

OnPlayerRequestClass:

TextdrawShowForPlayer(playerid, ...);
SetTimer(Intro, 1000);

public Intro(playerid)
{
TextDrawHideForPlayer(playerid, ...);
return 1;
}
Poslednja Izmena: Februar 08, 2011, 11:58:27 PRE PODNE od eXtreme

Opet mi izbacuje iste errore, evo requestclass


public OnPlayerRequestClass(playerid, classid)
{
new string[768];
PlayerPlaySound(playerid, 1068, 0.0, 0.0, 0.0);
PlayerInfo[playerid][pModel] = Peds[classid][0];
   if(IsPlayerNPC(playerid))
{
   SpawnPlayer(playerid);
return 1;
}
if (RegistrationStep[playerid] == 0 && gPlayerLogged[playerid] != 1)
{
TextDrawShowForPlayer(playerid, Introtext0);
TextDrawShowForPlayer(playerid, Introtext1);
TextDrawShowForPlayer(playerid, Introtext2);
TextDrawShowForPlayer(playerid, Introtext3);
TextDrawShowForPlayer(playerid, Introtext4);
TextDrawShowForPlayer(playerid, Introtext5);
SetTimer(Intro, 100);
  ClearChatbox(playerid, 20);
format(string, sizeof(string), "SuperNova RolePlay/DM server, pokretanje servera %s VER", Version);
SendClientMessage(playerid, COLOR_YELLOW, string);
SendClientMessage(playerid, COLOR_YELLOW2, " ");
new message[] = "\t\t\t\t\t\t SuperNova RolePlay/DM "CRVENA"Uvijeti i Pravila \n\n\n\n\n\n 1- Ovaj server sadrzi sadrzaj za odrasle. Suglasni ste da ste punoljetni u svojoj zemlji ako budete izlozeni takvoj vrsti sadrzaja\n\n 2- Ovaj server ne podrzava Cheatere, slazete se da necete koristiti stvari koje bi mogle stetiti drugim igracima i stvarati vam prednost.";
new message2[] = "\n\n 3- Citajuci ovo, slazete se da cete postovati sva pravila server /rules ili cete riskirati i krsiti ih i biti banani ili udaljavani sa servera.\n\n 4- Citajuci ovo se takodjer slazete da cete postovati admine i gm-ove uvijek, osim ako se krse pravilo (1) (2) (3) (5). \n\n 5- Ovaj server podrzava sve uvjete od SA:MP-a mozete vidjeti na www.sa-mp.com/service_agreement \n\n\n Pritisnite na 'Agree' Ako se slazete, 'Refuse' Ako se ne slazete.";
format(string, sizeof(string),"%s %s",message,message2);
ShowPlayerDialog(playerid, 1244, DIALOG_STYLE_MSGBOX,"SuperNova RolePlay/DM Uvijeti i Pravila",string,"Agree","Refuse");
SetPlayerCameraPos(playerid,1521.999,-1466.521,51.215);
SetPlayerCameraLookAt(playerid,1524.990,-1460.235,63.859);
//PlayerPlaySound(playerid, 1187, 0.0, 0.0, 0.0);
PlayerInfo[playerid][pModel] = Peds[classid][0];
SetPlayerTeamFromClass(playerid,classid);
}
else
{
SpawnPlayer(playerid);
}
return false;
}



EDIT: Rijesio sam to. ali sad ovo:

C:\Documents and Settings\Admin\Desktop\Uskoro RZ1\gamemodes\rzrp.pwn(16026) : error 076: syntax error in the expression, or invalid function call

Linija:

SetTimer(Intro, 1000)
isto je i sa SetTimer(Intro, 1000);
Poslednja Izmena: Februar 08, 2011, 13:42:52 POSLE PODNE od oO° HarisZornic °Oo

Respekt:
eXtreme
BloodMaster
Paradox

Citat: John_DillingthonEldin_Omanovic mi je ukrao auto.

Svjedok: Emir_Scofield.




Nisi stavio navodinke "".


SetTimer("Intro", 1000);

Last nick: Paradox