Guest User

AJUDA PORTOES

a guest
Nov 29th, 2011
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.91 KB | None | 0 0
  1. //elevadordp
  2. new elevadordp;
  3. } (coloquei na linha 436 do meu gm)
  4.  
  5.  
  6. //new elevadordp;
  7. new pdp1;
  8. new pdp2;
  9. //forward gatexxx(); (coloquei na linha 558 do meu gm)
  10.  
  11.  
  12.  
  13. //elevadordp = CreateObject(2927,1570.8325195313,-1635.4766845703,12.728549957275,90.0,0.0,0.0);
  14. elevadordp = CreateObject(2927,1570.8325195313,-1635.4766845703,12.728549957275,90.0,0.0,0.0);
  15. pdp1 = CreateObject(980,1541.9384765625,-1627.7314453125,15.156204223633,0.0,0.0,90.0);
  16. pdp2 = CreateObject(980,1588.0791015625,-1638.140625,15.172611236572,0.0,0.0,0.0); (coloque na linha 1416 do meu gm)
  17.  
  18.  
  19.  
  20. if(strcmp(cmdtext,"/ad", true)==0){
  21. {
  22. new aname[MAX_PLAYER_NAME];
  23. GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
  24. format(file, sizeof(file), P_CONTAS, aname);
  25. if(dini_Int(file, "Profissao") == Policial_M || dini_Int(file, "Profissao") == Policial_C || dini_Int(file, "Profissao") == Policial_F || dini_Int(file, "Profissao") == Recruta || dini_Int(file, "Profissao") == Bope || dini_Int(file, "Profissao") == Swat || dini_Int(file, "Profissao") == Rotam || dini_Int(file, "Profissao") == FBI || dini_Int(file, "Profissao") == Interpol || dini_Int(file, "Profissao") == LSPD || dini_Int(file, "pAdm01") == 1 )
  26. {
  27. MoveObject(pdp1,1541.9780273438,-1639.4814453125,15.156204223633,3.0);
  28. SendClientMessage(playerid,0xFFFFFFAA, "[PORTEIRO] O portão principal da DP foi aberto!");
  29. return 1;
  30. }
  31. }
  32. if(strcmp(cmdtext,"/ad2", true)==0)
  33. {
  34. new aname[MAX_PLAYER_NAME];
  35. GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
  36. format(file, sizeof(file), P_CONTAS, aname);
  37. if(dini_Int(file, "Profissao") == Policial_M || dini_Int(file, "Profissao") == Policial_C || dini_Int(file, "Profissao") == Policial_F || dini_Int(file, "Profissao") == Recruta || dini_Int(file, "Profissao") == Bope || dini_Int(file, "Profissao") == Swat || dini_Int(file, "Profissao") == Rotam || dini_Int(file, "Profissao") == FBI || dini_Int(file, "Profissao") == Interpol || dini_Int(file, "Profissao") == LSPD || dini_Int(file, "pAdm01") == 1 )
  38. {
  39. MoveObject(pdp2,1598.3291015625,-1638.1206054688,15.172611236572,3.0);
  40. SendClientMessage(playerid,0xFFFFFFAA, "[PORTEIRO] O segundo portão da DP foi aberto!");
  41. return 1;
  42. }
  43. }
  44. if(strcmp(cmdtext,"/fd", true)==0)
  45. {
  46. new aname[MAX_PLAYER_NAME];
  47. GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
  48. format(file, sizeof(file), P_CONTAS, aname);
  49. if(dini_Int(file, "Profissao") == Policial_M || dini_Int(file, "Profissao") == Policial_C || dini_Int(file, "Profissao") == Policial_F || dini_Int(file, "Profissao") == Recruta || dini_Int(file, "Profissao") == Bope || dini_Int(file, "Profissao") == Swat || dini_Int(file, "Profissao") == Rotam || dini_Int(file, "Profissao") == FBI || dini_Int(file, "Profissao") == Interpol || dini_Int(file, "Profissao") == LSPD || dini_Int(file, "pAdm01") == 1)
  50. {
  51. MoveObject(pdp1,1541.9384765625,-1627.7314453125,15.156204223633,3.0);
  52. SendClientMessage(playerid,0xFFFFFFAA, "[PORTEIRO] O portão principal da DP foi fechado!");
  53. return 1;
  54. }
  55. }
  56. if(strcmp(cmdtext,"/fd2", true)==0)
  57. {
  58. new aname[MAX_PLAYER_NAME];
  59. GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
  60. format(file, sizeof(file), P_CONTAS, aname);
  61. if(dini_Int(file, "Profissao") == Policial_M || dini_Int(file, "Profissao") == Policial_C || dini_Int(file, "Profissao") == Policial_F || dini_Int(file, "Profissao") == Recruta || dini_Int(file, "Profissao") == Bope || dini_Int(file, "Profissao") == Swat || dini_Int(file, "Profissao") == Rotam || dini_Int(file, "Profissao") == FBI || dini_Int(file, "Profissao") == Interpol || dini_Int(file, "Profissao") == LSPD || dini_Int(file, "pAdm01") == 1)
  62. {
  63. MoveObject(pdp2,1588.0791015625,-1638.140625,15.172611236572,3.0);
  64. SendClientMessage(playerid,0xFFFFFFAA, "[PORTEIRO] O segundo portão da DP foi fechado!");
  65. return 1;
  66. }
  67. }
  68. if(strcmp(cmdtext,"/subirdp", true)==0)
  69. {
  70. new aname[MAX_PLAYER_NAME];
  71. GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
  72. format(file, sizeof(file), P_CONTAS, aname);
  73. if(dini_Int(if(dini_Int(file, "Profissao") == Policial_M || dini_Int(file, "Profissao") == Policial_C || dini_Int(file, "Profissao") == Policial_F || dini_Int(file, "Profissao") == Recruta || dini_Int(file, "Profissao") == Bope || dini_Int(file, "Profissao") == Swat || dini_Int(file, "Profissao") == Rotam || dini_Int(file, "Profissao") == FBI || dini_Int(file, "Profissao") == Interpol || dini_Int(file, "Profissao") == LSPD || dini_Int(file, "pAdm01") == 1)
  74. {
  75. MoveDynamicObject(elevadordp,1570.8934326172,-1635.2736816406,27.561433792114,3.0);
  76. SendClientMessage(playerid,0xFFFFFFAA, "[INFO] Subindo o elevador da DP!");
  77. return 1;
  78. }
  79. }
  80.  
  81. if(strcmp(cmdtext,"/descerdp", true)==0)
  82. {
  83. new aname[MAX_PLAYER_NAME];
  84. GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
  85. format(file, sizeof(file), P_CONTAS, aname);
  86. if(dini_Int(file, "Profissao") == Policial_M || dini_Int(file, "Profissao") == Policial_C || dini_Int(file, "Profissao") == Policial_F || dini_Int(file, "Profissao") == Recruta || dini_Int(file, "Profissao") == Bope || dini_Int(file, "Profissao") == Swat || dini_Int(file, "Profissao") == Rotam || dini_Int(file, "Profissao") == FBI || dini_Int(file, "Profissao") == Interpol || dini_Int(file, "Profissao") == LSPD || dini_Int(file, "pAdm01") == 1)
  87. {
  88. SendClientMessage(playerid,0xFFFFFFAA, "[INFO] Descendo o elevador da DP!");
  89. return 1;
  90. }
  91. } (coloquei na linha 11970 do meu gm)
  92.  
  93.  
  94.  
  95.  
  96. ... PRONTO AO COPILAR DEU ESTES ERROS;
  97.  
  98.  
  99. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1925) : error 017: undefined symbol "CPS_AddCheckpoint"
  100. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1926) : error 017: undefined symbol "CPS_AddCheckpoint"
  101. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1927) : error 017: undefined symbol "CPS_AddCheckpoint"
  102. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1928) : error 017: undefined symbol "CPS_AddCheckpoint"
  103. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1929) : error 017: undefined symbol "CPS_AddCheckpoint"
  104. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1930) : error 017: undefined symbol "CPS_AddCheckpoint"
  105. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1931) : error 017: undefined symbol "CPS_AddCheckpoint"
  106. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1932) : error 017: undefined symbol "CPS_AddCheckpoint"
  107. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1933) : error 017: undefined symbol "CPS_AddCheckpoint"
  108. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1934) : error 017: undefined symbol "CPS_AddCheckpoint"
  109. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1935) : error 017: undefined symbol "CPS_AddCheckpoint"
  110. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1936) : error 017: undefined symbol "CPS_AddCheckpoint"
  111. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1937) : error 017: undefined symbol "CPS_AddCheckpoint"
  112. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1938) : error 017: undefined symbol "CPS_AddCheckpoint"
  113. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1939) : error 017: undefined symbol "CPS_AddCheckpoint"
  114. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1940) : error 017: undefined symbol "CPS_AddCheckpoint"
  115. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1941) : error 017: undefined symbol "CPS_AddCheckpoint"
  116. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1942) : error 017: undefined symbol "CPS_AddCheckpoint"
  117. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1943) : error 017: undefined symbol "CPS_AddCheckpoint"
  118. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1944) : error 017: undefined symbol "CPS_AddCheckpoint"
  119. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1945) : error 017: undefined symbol "CPS_AddCheckpoint"
  120. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1946) : error 017: undefined symbol "CPS_AddCheckpoint"
  121. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1947) : error 017: undefined symbol "CPS_AddCheckpoint"
  122. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1948) : error 017: undefined symbol "CPS_AddCheckpoint"
  123. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1949) : error 017: undefined symbol "CPS_AddCheckpoint"
  124. C:\Users\GUILHERME\Desktop\Bandida3.pwn(1950) : error 017: undefined symbol "CPS_AddCheckpoint"
  125.  
  126. Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
  127.  
  128.  
  129. 26 Errors.
  130.  
  131.  
  132. ALGUEM PODE ME AJUDAR'
  133.  
  134.  
  135.  
  136.  
  137.  
Advertisement
Add Comment
Please, Sign In to add comment