Jump to content
  • 0

[Discutii Scripting] Warning!


Question

Posted

[glow=red,2,300]Salut!

Am o problema, si nu stiu de ce :D[/glow]

[glow=red,2,300]Deci am luat aceste linii de pe un server luat de pe net, si acolo nu imi da warning dar la mine imi da priviti![/glow]

SetPlayerCameraLookAt(playerid, 207.630187, -129.973831, 1003.524597, 207.630187, -129.973831, 1003.524597);
SetPlayerCameraPos(playerid, 203.893646, -126.795494, 1004.492309, 203.893646, -126.795494, 1004.492309);
Si liniile!
D:\SAMP\RolePlay (New)\gamemodes\grandlarc.pwn(26151) : warning 213: tag mismatch
D:\SAMP\RolePlay (New)\gamemodes\grandlarc.pwn(26151) : warning 202: number of arguments does not match definition
D:\SAMP\RolePlay (New)\gamemodes\grandlarc.pwn(26151) : warning 202: number of arguments does not match definition
D:\SAMP\RolePlay (New)\gamemodes\grandlarc.pwn(26152) : warning 202: number of arguments does not match definition
D:\SAMP\RolePlay (New)\gamemodes\grandlarc.pwn(26152) : warning 202: number of arguments does not match definition

[glow=red,2,300][/glow]

3 answers to this question

Recommended Posts

Posted

Mai citeste cateodata si prin WIKI: SetPlayerCameraPos: http://wiki.sa-mp.com/wiki/SetPlayerCameraPos  si uite la SetPlayerCameraLookAt : http://wiki.sa-mp.com/wiki/SetPlayerCameraLookAt.

Sper ca te-am Ajutat. :grin:

Posted

pune si liniile 26151 si 26152 ca sa putem sa te ajutam

app. cel mai probabil trebuie sa definesti acele functii

incearca sa le definesti si revino cu edit

Posted

functiele trebuie sa fie de genul

SetPlayerCameraPos(playerid,Float:x,Float:y,Float:z)

SetPlayerCameraLookAt(playerid,Float:x,Float:y,Float:z)

tu ai

(playerid,Float:x,Float:y,Float:z,Float:rx,Float:ry,Float:rz)

ceea ce se fololseste deobicei la obiecte sau vehicule fara playerid.

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.