05.01.2010, 21:01
first i got a script from this link : http://forum.sa-mp.com/index.php?topic=123174.0
__________________________________________________ __________________________________________________ __________
------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------
__________________________________________________ __________________________________________________ __________
------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------
and its give me following errors :
(7551) : error 010: invalid function or declaration
(7553) : error 010: invalid function or declaration
(7555) : error 010: invalid function or declaration
(7559) : error 010: invalid function or declaration
__________________________________________________ __________________________________________________ __________
------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------
what should i do
__________________________________________________ __________________________________________________ __________
------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------
Код:
7547. //Next to the other forward 7548. forward VFreeze(vehicleid,Float:x,Float:y,Float:z); 7549. 7550. //When they teleport 7551. New Float:x, Float:y, Float:z; 7552. GetPlayerPos(playerid,x,y,z); 7553. for(new v; v<750; v++) 7554. { 7555. if(GetVehicleModel(vehicleid)!=0) 7556. { 7557. New Float:vx,Float:vy, Float:vz; 7558. GetVehiclePos(v,vx,vy,vz); 7559. if((vx-x<50)&&(vy-y<50)&&(vz-z<50)) 7560. { 7561. SetTimerEx("VFreeze",3000,0,"dfff",v,vx,vy,vz); 7562. } 7563. } 7564. } 7565. 7566. //The Timer ending 7567. public VFreeze(vehicleid,Float:x,Float:y,Float:z) 7568. { 7569. for(new i;i<200;i++) 7570. { 7571. if(IsPlayerConnected(i)) 7572. { 7573. if(IsPlayerInVehicle(i,vehicleid))return 0; 7574. SetVehiclePos(vehicleid,x,y,z); 7575. } 7576. } 7577. return 1; 7578.}
------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------
and its give me following errors :
(7551) : error 010: invalid function or declaration
(7553) : error 010: invalid function or declaration
(7555) : error 010: invalid function or declaration
(7559) : error 010: invalid function or declaration
__________________________________________________ __________________________________________________ __________
------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------
what should i do