public Tuto(playerid) { if(PTuto[playerid] == 1) { LimpiarConsola(playerid, 50); SendClientMessage(playerid,-1," lala "); SendClientMessage(playerid,-1," lala"); SendClientMessage(playerid,-1," asd"); SendClientMessage(playerid,-1," a Los Spamers, Cheaters, Hackers, o AntiRolers..."); SendClientMessage(playerid,-1," "); SendClientMessage(playerid,-1," Para pasar de Concepto Pulsa 'ENTER' "); SetPlayerPos(playerid, -2028.27, 157.12, 28.84); SetPlayerCameraPos(playerid, -2044.8845, 257.7394, 90.9497); SetPlayerCameraLookAt(playerid, -2044.3418, 258.5857, 90.7597); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); TextDrawSetString(TTitulo[playerid],"Linea que marca el error."); TextDrawSetString(TTexto1[playerid],"fuaaaaaaaaaaa."); TextDrawSetString(TTexto2[playerid],"hola baby"); TextDrawSetString(TTexto3[playerid],"<3 bellos..."); PTuto[playerid] ++; }
new TTitulo[MAX_PLAYERS];
hola chicos siempre me lio con los mismo errores lol, estaba haciendo un Tutorial para mi gm y me salen algunos errores fбciles xD pero no los solucione
Код:
public Tuto(playerid) { if(PTuto[playerid] == 1) { LimpiarConsola(playerid, 50); SendClientMessage(playerid,-1," lala "); SendClientMessage(playerid,-1," lala"); SendClientMessage(playerid,-1," asd"); SendClientMessage(playerid,-1," a Los Spamers, Cheaters, Hackers, o AntiRolers..."); SendClientMessage(playerid,-1," "); SendClientMessage(playerid,-1," Para pasar de Concepto Pulsa 'ENTER' "); SetPlayerPos(playerid, -2028.27, 157.12, 28.84); SetPlayerCameraPos(playerid, -2044.8845, 257.7394, 90.9497); SetPlayerCameraLookAt(playerid, -2044.3418, 258.5857, 90.7597); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); TextDrawSetString(TTitulo[playerid],"Linea que marca el error."); TextDrawSetString(TTexto1[playerid],"fuaaaaaaaaaaa."); TextDrawSetString(TTexto2[playerid],"hola baby"); TextDrawSetString(TTexto3[playerid],"<3 bellos..."); PTuto[playerid] ++; } C:\Users\hackers\Desktop\mi\0.3x\gamemodes\BaseRPG M.pwn(416) : error 017: undefined symbol "TTitulo" C:\Users\hackers\Desktop\mi\0.3x\gamemodes\BaseRPG M.pwn(416) : warning 215: expression has no effect C:\Users\hackers\Desktop\mi\0.3x\gamemodes\BaseRPG M.pwn(416) : error 001: expected token: ";", but found "]" C:\Users\hackers\Desktop\mi\0.3x\gamemodes\BaseRPG M.pwn(416) : error 029: invalid expression, assumed zero C:\Users\hackers\Desktop\mi\0.3x\gamemodes\BaseRPG M.pwn(416) : fatal error 107: too many error messages on one line pero en otras parte del tutorial tambien tengo "TextDrawSetString(TTitulo[playerid] " entonces me fuera pedido que definiera todas :S bien gracias |
En esa parte del cуdigo no veo nada raro. Bueno, te faltarнa un } al final, pero supongo que lo habrбs cortado.
Asegъrate de que existe la funciуn LimpiarConsola (ya sea public o stock) y de que al principio del script has definido pawn Код:
Eso deberнa solucionar los dos primeros errores. Los cuatro ъltimos supongo que son consecuencia del segundo. |
new Text:TTitulo [MAX_PLAYERS];