i think a array is made this way:
Code:
new fakecivX[14] = {2959,2753,2129,2129,2129,2006,1064,65,65,-1633,-1633,-2256,-2221,-1568}
with { } NOT ( ) (but it seems that ( ) works too)
also these values should be floats (eg: 2959 -> float = 2959.0)
there it must be also new Float:fakecinX[14]...
Code:
create_entity(fakeciv[i])
what is fakeciv[i] ?
it must be a name
i suggest use
Code:
create_entity("info_target")
also i would not suggest to make checks on clients before u know they are connected
Code:
if(ptr < 1 || ptd < 1 || ptd > 32 || !is_user_alive(ptd) || !is_user_connected(ptd)){
return PLUGIN_CONTINUE
first u check if user is alive then if he is connected
rather do
Code:
if ( ptr < 1 || !is_user_connected(ptd) ){
return PLUGIN_CONTINUE
}else if ( !is_user_alive(ptd) )
return PLUGIN_CONTINUE
u dont need ptd < 1 and ptd >32 as is_user_connected does the same and a bit more
__________________